Skip to content

Commit

Permalink
updated iframe border to 0px on swf rewrite
Browse files Browse the repository at this point in the history
git-svn-id: http://www.kaltura.org/kalorg/html5video/trunk/mwEmbed@1192 b58a29cf-3064-46da-94c6-1c29cc75c8e5
  • Loading branch information
KalturaGitBot committed Nov 16, 2010
1 parent 9ef199a commit 93d36df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/KalturaSupport/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@
var $iframe = $j('<iframe />').attr({
'id' : $j( playerTarget ).attr('id'),
'class' : $j( playerTarget ).attr('class' ),
'style' : $j( playerTarget ).attr('style' ),
'src' : mw.getMwEmbedPath() + 'mwEmbedFrame.php' + iframeRequest
}).css('border', '0px');
$j( playerTarget ).replaceWith( $iframe );
Expand Down
1 change: 1 addition & 0 deletions mwEmbedFrame.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ private function parseRequest(){
}
}
}

// Check for attributes
foreach( $this->playerAttributes as $attributeKey){
if( isset( $_REQUEST[ $attributeKey ] ) ){
Expand Down
2 changes: 2 additions & 0 deletions mwEmbedLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ function kOverideSwfObject(){
'id' : replaceTargetId,
'width' : width,
'height' : height
}).css({
'border' : '0px'
})
)
} else {
Expand Down

0 comments on commit 93d36df

Please sign in to comment.