Skip to content

Commit

Permalink
allow an embedder to pass thru an "autoplay" attribute -- hope this i…
Browse files Browse the repository at this point in the history
…s acceptable, michael! 8-)

git-svn-id: http://www.kaltura.org/kalorg/html5video/trunk/mwEmbed@2115 b58a29cf-3064-46da-94c6-1c29cc75c8e5
  • Loading branch information
traceypooh committed Jun 6, 2011
1 parent ef6587c commit 3147df7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mwEmbedFrame.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class mwEmbedFrame {
var $playerAttributes = array(
'apiTitleKey',
'apiProvider',
'autoplay',
'durationHint',
'poster',
'kentryid',
Expand Down Expand Up @@ -200,7 +201,7 @@ function outputIFrame( ){

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

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

0 comments on commit 3147df7

Please sign in to comment.