Skip to content
Permalink
Browse files

#FEC-2388 #comment fixed #time 1d

  • Loading branch information...
InbarItay committed Dec 8, 2014
1 parent 31e785d commit a6cc09cbe464d04bb9d3353fc55f8e1ee71ee297
Showing with 6 additions and 7 deletions.
  1. +5 −6 modules/EmbedPlayer/resources/mw.EmbedPlayerNativeComponent.js
  2. +1 −1 mwEmbedFrame.php
@@ -242,13 +242,12 @@
/**
* Stop the player ( end all listeners )
*/
stop: function () {
mw.log("EmbedPlayerNativeComponent:: stop::");
this.parent_stop();
if (this.getPlayerElement() && this.getPlayerElement().attr('currentTime')) {
this.getPlayerElement().attr('currentTime', '0');
this.getPlayerElement().stop();
stop: function(){
var _this = this;
if( this.playerElement && this.playerElement.currentTime){
this.playerElement.pause();
}
this.parent_stop();
},

/**
@@ -58,7 +58,7 @@ class mwEmbedFrame {
);
var $playerIframeId = 'iframeVid';
var $debug = false;
var $theme = 'kdark';
var $theme = 'kdark';
// When used in direct source mode the source asset.

0 comments on commit a6cc09c

Please sign in to comment.
You can’t perform that action at this time.