Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

MediaElement.js

mediaelementjs.com

  • Free plan
  • Web
  • iPhone and iPad
  • Android
  • API
  • Self-hosted

What MediaElement.js is

MediaElement.js is a free, MIT-licensed HTML5 audio and video library that gives supported media a consistent player interface across browsers. It includes a player built with HTML and CSS and a shared MediaElement API. Supported media formats include MP4, WebM, MP3, HLS, and DASH; embedded sources include YouTube, Vimeo, Twitch, DailyMotion, Facebook, and SoundCloud. The project says its video player meets WCAG 2.1, BITV 2.0, and EN 301 549 accessibility requirements.

Captions, subtitles, and chapters can use HTML track elements with SRT or VTT files. For cross-browser caption handling, those files must be on the same domain as the player. Installation options include packages, a CDN, Git, npm, Bower, and Meteor. Usage guidance covers standalone JavaScript, jQuery, RequireJS, and React, and integration guidance includes WordPress and Drupal. Listed browser support includes IE11+, Edge, Chrome, Firefox, Safari, iOS 8+, and Android 4.0+. Add-ons include Chromecast, AirPlay, analytics, playlists, ads, caption accessibility, and playback speed.

Who it suits

MediaElement.js suits developers building audio or video playback into web projects who want a shared interface across supported media sources. It may fit projects that need captions, accessibility requirements, or integrations with WordPress or Drupal.

Good to know, and what to watch

  • Free and MIT-licensed.
  • Includes a shared API and HTML/CSS player.
  • Supports SRT and VTT caption files.
  • Offers package, CDN, Git, npm, Bower, and Meteor installation.
  • Caption files need to be on the player's domain for cross-browser handling.
  • jQuery must be imported for its jQuery plugin.
  • Non-native plugins must be loaded separately.

MediaElement.js

Free

Free plan

The verdict

MediaElement.js brings a broad set of media sources and installation paths into one player framework. Check its caption-hosting condition and plugin loading requirements when planning an implementation.

What the maker publishes

Accessibility
The product site says its video player complies with WCAG 2.1, BITV 2.0, and EN 301 549 accessibility requirements. source
Browser support
The repository says the library generally supports IE11+, Microsoft Edge, Chrome, Firefox, Safari, iOS 8+, and Android 4.0+. source
Caption hosting limit
For cross-browser caption handling, the guide says caption files must be on the same domain as the player because parsing uses an AJAX request. source
Captions
The installation guide documents closed captions, subtitles and chapters using HTML track elements with SRT or VTT files. source
CMS integration
The installation guide says MediaElement.js is incorporated into WordPress core and documents integration with Drupal. source
Creator
The product site says MediaElement.js was created by John Dyer at Dallas Theological Seminary. source
Embedded players
The official site lists YouTube, Vimeo, Twitch, DailyMotion, Facebook and SoundCloud as embeddable player sources. source
Installation
The installation guide lists package download, CDN, Git, npm, Bower, and Meteor installation options. source
Integration
The usage guide documents standalone JavaScript, jQuery, npm/Meteor, RequireJS, and React usage. source
License
The project repository identifies the software license as MIT. source
Maker
The official site says MediaElement.js was created by John Dyer at Dallas Theological Seminary. source
Media formats
The project describes support for MP4, WebM, MP3, HLS and DASH media. source
Media support
The site lists MP4 and MP3 media files, HLS and MPEG-DASH streams, and embedded players including YouTube, Vimeo, Twitch, DailyMotion, Facebook, and SoundCloud. source
Notable requirement
The usage guide says jQuery must be imported to use the jQuery mediaelementplayer plugin, and non-native plugins must be loaded separately. source
Playback formats
The repository describes support for MP4, WebM, MP3, HLS, DASH, YouTube, Facebook, and SoundCloud. source
Player
The project includes a complete HTML and CSS audio/video player built on top of MediaElement.js. source
Player API
The project provides a common HTML5 MediaElement API for supported media sources. source
Plugins
The plugin repository lists add-ons including Chromecast, AirPlay, Google Analytics, Google Tag Manager, playlists, ads, captions accessibility, and playback speed. source
Product
MediaElement.js is an HTML5 audio and video library that provides a unified player interface across browsers. source
Purpose
MediaElement.js is an HTML5 audio and video player framework that provides a consistent interface across browsers. source
Support
The product site directs users with accessibility concerns to create an issue on GitHub. source

Checked against the maker's pages on 7 Oct 2026.