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