setup.js - Functions for setting up a player without
user interaction based on the data-setup
attribute of the video tag.
Set up any tags that have a data-setup
attributewhen the player is started.
inner autoSetupTimeout(wait, vjsopt)
Wait until the page is loaded before running autoSetup. This will be called in autoSetup if
Name Type Attributes Description
How long to wait in ms
The videojs library function
check if the window has been loaded