Skip to content

Commit

Permalink
fixes flashvar values ( return the .apply call )
Browse files Browse the repository at this point in the history
  • Loading branch information
mdale committed Jun 7, 2012
1 parent a7c17bc commit 6b520e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/KalturaSupport/resources/mw.KDPMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
embedPlayer[ methodName ] = function(){
var args = $.makeArray( arguments ) ;
args.splice( 0,0, embedPlayer);
_this[ methodName ].apply(_this, args );
return _this[ methodName ].apply( _this, args );
}
// Add to parentProxyDiv as well:
parentProxyDiv[ methodName ] = function(){
Expand Down
2 changes: 1 addition & 1 deletion modules/KalturaSupport/resources/mw.KWidgetSupport.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ mw.KWidgetSupport.prototype = {
},
/**
* Add player bindings
* @param {Object} embedPlayer
*/
bindPlayer: function( embedPlayer ){
var _this = this;
Expand Down Expand Up @@ -389,7 +390,6 @@ mw.KWidgetSupport.prototype = {

// Sync iframe with attribute data updates:
$( embedPlayer ).trigger( 'updateIframeData' );

if( embedPlayer.$uiConf ){
_this.baseUiConfChecks( embedPlayer );
// Trigger the check kaltura uiConf event
Expand Down

0 comments on commit 6b520e4

Please sign in to comment.