0.2.8 • Published 2 years ago

@wenzi7777/mplayer v0.2.8

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
2 years 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

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.8

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago