var modVid;var queuedTime;function onTemplateLoaded(experienceId){modVid=brightcove.getExperience(experienceId).getModule(APIModules.VIDEO_PLAYER)}function seek(time){if(modVid.isPlaying()){modVid.seek(time)}else{queuedTime=time;modVid.addEventListener(BCMediaEvent.PROGRESS,onProgress);modVid.play()}}function onProgress(event){modVid.removeEventListener(BCMediaEvent.PROGRESS,onProgress);seek(queuedTime)}
