GithubHelp home page GithubHelp logo

bai1an / dplayer-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kn007/dplayer-lite

0.0 0.0 0.0 150 KB

:lollipop: Wow, such a lovely HTML5 video player

License: MIT License

JavaScript 80.06% SCSS 19.94%

dplayer-lite's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.