MCPcopy Index your code
hub / github.com/mediaelement/mediaelement

github.com/mediaelement/mediaelement @7.1.0

repository ↗ · DeepWiki ↗ · release 7.1.0 ↗ · Ask this repo → · + Follow
217 symbols 616 edges 64 files 53 documented · 24% updated 54d ago7.1.0 · 2025-11-12★ 8,296205 open issues
README

MediaElementJS

One file. Any browser. Same UI.

GitHub Version Build Status Coverage Status MIT License CDNJS jsDelivr Hits

Table of Contents

Introduction

MediaElementPlayer: HTML5 <video> and <audio> player

A complete HTML/CSS audio/video player built on top MediaElement.js.

In general, MediaElement.js supports IE11+, MS Edge, Chrome, Firefox, Safari, iOS 8+ and Android 4.0+.

It is strongly recommended to read the entire documentation and check the demo folder to get the most out of this package. Visit here to start.

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.

Additional features can be found at https://github.com/mediaelement/mediaelement-plugins.

API and Configuration

MediaElement.js has many options that you can take advantage from. Visit API and Configuration for more details.

Also, a Utilities/Features guide is available for development. Visit Utilities/Features for more details.

Guidelines for Contributors

If you want to contribute to improve this package, please read Guidelines.

Useful resources

A compilation of useful articles can be found here.

Change Log

Changes available at Change Log.

Migration

For migrating mediaelement see Migration guide.

TODO list

IMPORTANT: Before posting an issue, it is strongly encouraged to read the whole documentation since it covers the majority of scenarios exposed in prior issues.

New features and pending bugs can be found at TODO list.

Core symbols most depended-on inside this repo

getElement
called by 168
src/js/player.js
createEvent
called by 32
src/js/utils/general.js
getDuration
called by 28
src/js/player/default.js
pause
called by 23
src/js/player/default.js
play
called by 22
src/js/player/default.js
setVolume
called by 22
src/js/player/default.js
remove
called by 18
src/js/player.js
setMuted
called by 17
src/js/player/default.js

Shape

Function 119
Method 90
Class 8

Languages

TypeScript100%

Modules by API surface

src/js/player.js54 symbols
src/js/player/default.js24 symbols
src/js/features/tracks.js23 symbols
src/js/core/mediaelement.js12 symbols
src/js/utils/general.js8 symbols
src/js/utils/dom.js8 symbols
src/js/core/renderer.js8 symbols
src/js/utils/media.js6 symbols
src/js/features/time.js6 symbols
src/js/features/progress.js6 symbols
src/js/features/fullscreen.js6 symbols
src/js/utils/time.js5 symbols

Dependencies from manifests, versioned

autoprefixer6.7.7 · 1×
babel-cli6.24.1 · 1×
babel-core6.26.3 · 1×
babel-preset-env1.7.0 · 1×
babel-register6.24.1 · 1×
babelify7.3.0 · 1×
browserify13.1.1 · 1×
browserify-derequire0.9.4 · 1×
bundle-collapser1.2.1 · 1×
chai3.5.0 · 1×
coveralls2.13.1 · 1×
cssnano3.8.0 · 1×

For agents

$ claude mcp add mediaelement \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact