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
attribute when the player is started.
Wait until the page is loaded before running autoSetup. This will be called in autoSetup if
hasLoaded returns false.
How long to wait in ms
The videojs library function
check if the window has been loaded