Skip to content

Commit

Permalink
Removed 'EmbedPlayer.EnableIframeApi' is always true had no point
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Dale committed Aug 29, 2014
1 parent aa5b9c3 commit 1d6df45
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions modules/EmbedPlayer/EmbedPlayer.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,6 @@
// The domains which can read and send events to the video player
'EmbedPLayer.IFramePlayer.DomainWhiteList' => '*',

// If the iframe should send and receive javascript events across domains via postMessage
'EmbedPlayer.EnableIframeApi' => true,

// If set to true will output the iframe as inline contents on the same domain as page contents
'EmbedPlayer.PageDomainIframe' => true,

Expand Down
2 changes: 0 additions & 2 deletions modules/KalturaSupport/resources/mw.KWidgetSupport.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ mw.KWidgetSupport.prototype = {
isIframeApiServer: function(){
return ( mw.getConfig( 'EmbedPlayer.IsIframeServer' )
&&
mw.getConfig( 'EmbedPlayer.EnableIframeApi' )
&&
mw.getConfig( 'EmbedPlayer.IframeParentUrl' ) )
},
/**
Expand Down
3 changes: 0 additions & 3 deletions mwEmbedFrame.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ function outputIFrame( ){
// We can't support full screen in object context since it requires outer page DOM control
mw.setConfig( 'EmbedPlayer.EnableFullscreen', false );

// Enable the iframe player server:
mw.setConfig( 'EmbedPlayer.EnableIframeApi', true );

mw.ready(function(){
// Bind window resize to reize the player:
$(window).resize(function(){
Expand Down

0 comments on commit 1d6df45

Please sign in to comment.