new html5(options)
This method defines VideoPlayerHTML5 class. Constructor takes one parameter as options This class provides html video player functionalities. Inherits videoPlayer base class
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | It Contains values for video player like deviceProfile , playlist |
Example
var videoPlayerHTML5Obj = new caph.stripe.ui.widget.videoPlayer.html5(options);
Methods
-
<static> exit()
-
This method exit the playback of Player.
-
<static> FF()
-
This function forward the video.
Example
videoObj.FF();
-
<static> hideSubtitle()
-
This function is used to hide subtitles of the currently playing video
Example
videoObj.hideSubtitle();
-
<static> pause()
-
This function pause the video.
Example
videoObj.pause();
-
<static> play(option)
-
This function play the video.
Parameters:
Name Type Description option
Object option contains video information
Example
videoObj.play({url:'url string'});
-
<static> resume()
-
This function resume the video.
Example
videoObj.resume();
-
<static> RW()
-
This function rewind the video.
Example
videoObj.RW();
-
<static> showSubtitle()
-
This function is used to show subtitles of the currently playing video
Example
videoObj.showSubtitle();
-
<static> stop()
-
This function stop the video.
Example
videoObj.stop();