MediaElement.js
: <video>
and <audio>
made easy.
One file. Any browser. Same UI.
- Author: John Dyer http://j.hn/
- Website: http://mediaelementjs.com/
- License: MIT
- Meaning: Use everywhere, keep copyright, it'd be swell if you'd link back here.
- Thanks: my employer, Dallas Theological Seminary
- Contributors: all contributors
Table of Contents
- Introduction
- Browser and Device support
- Installation and Usage
- API and Configuration
- Guidelines for Contributors
- Change Log
- TODO list
Introduction
MediaElementPlayer: HTML5 <video>
and <audio>
player
A complete HTML/CSS audio/video player built on top MediaElement.js
and jQuery
. Many great HTML5 players have a completely separate Flash UI in fallback mode, but MediaElementPlayer.js uses the same HTML/CSS for all players.
MediaElement.js
is a set of custom Flash and Silverlight plugins that mimic the HTML5 MediaElement API for browsers that don't support HTML5 or don't support the media codecs you're using.
Instead of using Flash as a fallback, Flash is used to make the browser seem HTML5 compliant and enable codecs like H.264 (via Flash) and even WMV (via Silverlight) on all browsers.
Browser and Device support
Format | Support |
---|---|
mp4 | Please visit http://caniuse.com/#feat=mpeg4 for comprehensive information |
webm | Please visit http://caniuse.com/#feat=webm for comprehensive information |
mp3 | Please visit http://caniuse.com/#feat=mp3 for comprehensive information |
m3u8 | Safari and iOS (native); all browsers that support Flash (version 10 or later) |
rtmp/flv | All browsers that support Flash (version 10 or later) |
wmv/wma | All browsers that support Silverlight |
YouTube | All browsers since it uses iframe tag |
Installation and Usage
The full documentation on how to install MediaElement.js
is available at Installation.
A brief guide on how to create and use instances of MediaElement
available at Usage.
API and Configuration
MediaElement.js
has many options that you can take advantage from. Visit API and Configuration for more details.
Guidelines for Contributors
If you want to contribute to improve this package, please read Guidelines.
Change Log
Changes available at Change Log
TODO list
New features and pending bugs can be found at TODO list.