videoplayer.js
v1.1.4
Published
Play video in a web site by videoPlayer.js
Readme
videoPlayer.js
Play video in a web site by videoPlayer.js
Get Started
- Include jQuery,
- Download the files in /dist.
- https://github.com/BOOK-BLOG/videoPlayer.js
- https://www.npmjs.com/package/videoplayer.js
- 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.
