Methods
-
isPaused()
-
Whether the video is paused.
Returns:
- Type
- boolean
-
loadVideo()
-
Load a YouTube video.
-
pause()
-
Pause the video.
-
play()
-
Play the video.
-
ready()
-
Set up a YouTube iframe. Loads the YouTube IFrame API if the 'YT' global doesn't exist.
-
test(settings)
-
Whether the handler supports a video.
Parameters:
Name Type Description settingsobject Video settings. Returns:
- Type
- boolean