Play video in a web site by videoPlayer.js
Use videoPlayer.init()
to initialize the player.
Use videoPlayer.play(videoSource)
to play the video, videoSource
is a string
, the URL of the video.
Use videoPlayer.exit()
to exit.
Use videoPlayer.edit(dlModes="dark")
to switch to dark mode. videoPlayer.edit(dlModes="light")
to light one.