Home

Awesome

Introduction

DPlayer Lite, based on DPlayer 1.26.0 808dd62.

dplayer-lite-preview

DPlayer Lite Supports:

Usage

NameDefaultNote
containerdocument.getElementsByClassName('dplayer')[0]player container
autoplayfalsenot supported in mobile browsers
theme'#b7daff'main color
livefalseenable live mode
loopfalseupon reaching the end of the video, automatically seek back to the start
langnavigator.language.toLowerCase()values: 'en', 'zh-cn', 'zh-tw'
preload'auto'values: 'none', 'metadata', 'auto'
volume1default volume
videoundefinedvideo info
video.urlundefinedvideo link
video.picundefinedvideo poster
video.type'auto'HLS support FLV support MPEG DASH support WebTorrent support
mutextruepause other players when this player start play

Other