src/js/pop.js
branchpopcorn-port
changeset 841 8da49ff273e0
parent 839 4357aac4eb19
child 870 2c025db10a10
equal deleted inserted replaced
840:ac66e2240e1e 841:8da49ff273e0
   114   //IriSP.PopcornReplacement.trigger("playing");
   114   //IriSP.PopcornReplacement.trigger("playing");
   115   this.playerFns.play();
   115   this.playerFns.play();
   116 };
   116 };
   117     
   117     
   118 IriSP.PopcornReplacement.player.prototype.pause = function() {
   118 IriSP.PopcornReplacement.player.prototype.pause = function() {
   119   if ( !this.media.paused ) {
   119 //  if ( !this.media.paused ) {
   120     this.media.paused = true;
   120     this.media.paused = true;
   121     this.trigger( "pause" );
   121     this.trigger( "pause" );
   122     this.playerFns.pause();
   122     this.playerFns.pause();
   123   }
   123 //  }
   124 };
   124 };
   125 
   125 
   126 IriSP.PopcornReplacement.player.prototype.muted = function(val) {
   126 IriSP.PopcornReplacement.player.prototype.muted = function(val) {
   127   if (typeof(val) !== "undefined") {
   127   if (typeof(val) !== "undefined") {
   128 
   128