0.2.8 • Published 6 months ago

@wenzi7777/mplayer v0.2.8

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
6 months ago

MPlayer

MPlayer is a powerful, colorful and lovely html5 video player.

GitHub file size in bytes npm npm npm.io

Preview

Try it!

Documentation

MPlayer supports:

Streaming formats:

Media formats:

  • MP4 H.264
  • WebM
  • Ogg Theora Vorbis

Features

  • Subtitle switching
  • Playlist support, including play next, play previous, playlist panel.
  • Screenshot
  • Hotkeys
  • Quality switching
  • Hints
  • Preview images
  • Spotlight effect.

Build you own one

git clone https://github.com/wenzi7777/MPlayer.git
cd MPlayer
npm i
npm run build

Compatibility

  • Chrome 39+ for Android
  • Chrome 39+ for Desktop
  • Firefox 41+ for Android
  • Firefox 42+ for Desktop
  • Edge for Windows 10+
  • Safari 8+ for MacOS 10.10+
  • Safari for ipadOS 13+

Using MPlayer

Installation

Prepackaged builds are included with each release. Or install the MPlayer.js as a dependency of your project:

npm install --save @wenzi7777/mplayer

Embedding MPlayer

<script src="https://cdn.jsdelivr.net/npm/@wenzi7777/mplayer@latest/dist/mplayer.bundle.min.js"></script>
<div id="mplayer"></div>
<script>
  let mplayer = new MPlayer(document.querySelector('#mplayer'), {
    videos: [
      {
        title: '?', // required
        src: '?' // required
      }
    ]
  })
</script>

License

MPlayer is released under the Mozilla Public License 2.0

0.2.6-e

6 months ago

0.2.7

6 months ago

0.2.6

6 months ago

0.2.8

6 months ago

0.2.5

6 months ago

0.2.4

7 months ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago