All Projects → kn007 → DPlayer-Lite

kn007 / DPlayer-Lite

Licence: MIT License
🍭 Wow, such a lovely HTML5 video player

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Introduction

DPlayer Lite, based on DPlayer 1.26.0 808dd62.

dplayer-lite-preview

DPlayer Lite Supports:

  • Streaming Formats
  • Media Formats
    • MP4 H.264
    • WebM
    • Ogg Theora Vorbis
  • Features
    • Hotkeys
    • Loop Control

Usage

Name Default Note
container document.getElementsByClassName('dplayer')[0] player container
autoplay false not supported in mobile browsers
theme '#b7daff' main color
live false enable live mode
loop false upon reaching the end of the video, automatically seek back to the start
lang navigator.language.toLowerCase() values: 'en', 'zh-cn', 'zh-tw'
preload 'auto' values: 'none', 'metadata', 'auto'
volume 1 default volume
video undefined video info
video.url undefined video link
video.pic undefined video poster
video.type 'auto' HLS support FLV support MPEG DASH support WebTorrent support
mutex true pause other players when this player start play

Other

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].