setup.js - Functions for setting up a player without
user interaction based on the data-setup attribute
of the video tag.
Methods
-
innerautoSetup()
-
Set up any tags that have a data-setup
attribute
when the player is started. -
innerautoSetupTimeout(wait, vjs)
-
Wait until the page is loaded before running autoSetup. This will be called in autoSetup if
hasLoaded
returns false.Name Type Description wait
number How long to wait in ms
vjs
module:videojs optional The videojs library function
-
innerhasLoaded()
-
check if the document has been loaded