mediaelement/mediaelement
Tentang
Pemutar audio dan video HTML5 yang mendukung MP4, WebM, MP3, HLS, DASH, YouTube, Facebook, SoundCloud, dan lainnya melalui API MediaElement HTML5 yang sama, sehingga menyediakan antarmuka yang konsisten di semua browser.
Desain dan mediaPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +2
- dalam 15 hari
- +3
- dalam 1 bulan
- +4
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliOne 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
- Installation and Usage
- API and Configuration
- Guidelines for Contributors
- Migration
- Change Log
- TODO list
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.
Quick Start with Vite
# Clone the repository
git clone https://github.com/mediaelement/mediaelement.git
# Install dependencies
npm install
# Development server
npm run dev
# Production build
npm run build
Build Commands
npm run build- Production build with minificationnpm run build:debug- Development build (unminified)npm run dev- Start development server with hot reloadnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run stylelint- Run Stylelintnpm run lint:all- Run all lintersnpm run test- Run tests with Vitestnpm run test:all- Run linting, Vitest, the production build, and Playwrightnpm run test:e2e- Run Playwright browser testsnpm run test:e2e:ui- Open the Playwright test UI
See Testing for unit and browser test setup, including local media fixtures.
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.
Jelajahi proyek terkait
Memuat…
