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
attributewhen the player is started. -
innerautoSetupTimeout(wait, vjs)
-
Wait until the page is loaded before running autoSetup. This will be called in autoSetup if
hasLoadedreturns false.Name Type Description waitnumber How long to wait in ms
vjsmodule:videojs optional The videojs library function
-
innerhasLoaded()
-
check if the window has been loaded