Skip to content

1.1.3

Latest
Compare
Choose a tag to compare
@MrWillCom MrWillCom released this 23 Mar 03:50
· 1 commit to master since this release

videoPlayer.js

Play video in a web site by videoPlayer.js

Get Started

  1. Include jQuery,
  2. Download the files in /dist.
  3. Include the files in your HTML document.

Initialization

Use videoPlayer.init() to initialize the player.

Play the Video

Use videoPlayer.play(videoSource) to play the video, videoSource is a string, the URL of the video.

Exit the Player

Use videoPlayer.exit() to exit.

Edit the Player

Use videoPlayer.edit(dlModes="dark") to switch to dark mode. videoPlayer.edit(dlModes="light") to light one.