function autoSetupTimeout(wait, vjs) {
  if (vjs) {
    videojs$2 = vjs;
  }

  window.setTimeout(autoSetup, wait);
}
function autoSetupTimeout(wait, vjs) {
  if (vjs) {
    videojs$2 = vjs;
  }

  window.setTimeout(autoSetup, wait);
}
function autoSetupTimeout ( wait , vjs ) { if ( vjs ) { videojs$2 = vjs ; } window . setTimeout ( autoSetup , wait ) ; }
Wait until the page is loaded before running autoSetup. This will be called in
autoSetup if `hasLoaded` returns false.

@param {number} wait
How long to wait in ms

@param {module:videojs} [vjs]
The videojs library function
Wait until the page is loaded before running autoSetup . This will be called in autoSetup if hasLoaded returns false .