web/static/res/js/incplayer.js
changeset 47 dbd46ed42b0d
parent 46 542252e0c615
child 48 d92196482ad9
equal deleted inserted replaced
46:542252e0c615 47:dbd46ed42b0d
   208 			self.popSeq.off("loadedmetadata");
   208 			self.popSeq.off("loadedmetadata");
   209 			self.logi("the player is ready");
   209 			self.logi("the player is ready");
   210 		});	
   210 		});	
   211 
   211 
   212 		self.popSeq.on("cycle", function() {
   212 		self.popSeq.on("cycle", function() {
   213 		});	
   213 		});
       
   214 
       
   215 		self.popSeq.on("ended", function() {
       
   216 			// todo
       
   217 			location.href = "transition.html";			
       
   218 		});
       
   219 
   214 	};
   220 	};
   215 
   221 
   216 	this.listenEvent = function(pop, event, unlisten, func)
   222 	this.listenEvent = function(pop, event, unlisten, func)
   217 	{
   223 	{
   218 		pop.on(event, function() {
   224 		pop.on(event, function() {