/* BEGIN BRIGHT COVE API EVENT LISTENER */
	 
	 var bcExp;
	 var modVP;
	 var modExp;
     var modCon;

	// called when template loads, this function stores a reference to the player and modules.
	function onTemplateLoaded_ext(experienceID) {

    	bcExp = brightcove.getExperience(experienceID);
	
    	modVP = bcExp.getModule(APIModules.VIDEO_PLAYER);
   	 	modExp = bcExp.getModule(APIModules.EXPERIENCE);
    	modCon = bcExp.getModule(APIModules.CONTENT);
	
		modVP.addEventListener(BCVideoEvent.VIDEO_COMPLETE, onVideoComplete);

	}
