equal
deleted
inserted
replaced
23 this.videoExt = ""; |
23 this.videoExt = ""; |
24 this.popSeq = null; |
24 this.popSeq = null; |
25 |
25 |
26 // Controls |
26 // Controls |
27 this.playButton = null; |
27 this.playButton = null; |
28 this.hdSdButton = null |
28 this.hdSdButton = null; |
29 this.progressCurrent = null; |
29 this.progressCurrent = null; |
30 this.progressDuration = null; |
30 this.progressDuration = null; |
31 this.progressCursor = null; |
31 this.progressCursor = null; |
32 this.progressBar = null; |
32 this.progressBar = null; |
33 this.progressCursorX = 0; |
33 this.progressCursorX = 0; |
427 self.logi("the player is ready"); |
427 self.logi("the player is ready"); |
428 }); |
428 }); |
429 } |
429 } |
430 |
430 |
431 self.popSeq.on("cycle", function() { |
431 self.popSeq.on("cycle", function() { |
432 console.log("CYCLE"); |
|
433 }); |
432 }); |
434 |
433 |
435 self.popSeq.on("ended", function() { |
434 self.popSeq.on("ended", function() { |
436 }); |
435 }); |
437 |
436 |
555 |
554 |
556 // The video is ready, play |
555 // The video is ready, play |
557 media.play(); |
556 media.play(); |
558 self.playerIsReady = true; |
557 self.playerIsReady = true; |
559 self.recomputeDurationNoAutoPlay(); |
558 self.recomputeDurationNoAutoPlay(); |
560 console.log("ipad play event"); |
559 self.logi("ipad play event"); |
561 } |
560 } |
562 |
561 |
563 media.addEventListener('canplaythrough', mediaCanPlay, false); |
562 media.addEventListener('canplaythrough', mediaCanPlay, false); |
564 media.addEventListener('load', mediaCanPlay, false); |
563 media.addEventListener('load', mediaCanPlay, false); |
565 |
564 |