Skip to content

Commit

Permalink
MDL-52304 media: Allow full screen in Flash player
Browse files Browse the repository at this point in the history
  • Loading branch information
micaherne authored and David Monllao committed Dec 4, 2015
1 parent ea5c18d commit 2763514
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/medialib.php
Expand Up @@ -989,6 +989,7 @@ public function embed($urls, $name, $width, $height, $options) {
<param name="scale" value="aspect" />
<param name="base" value="." />
<param name="allowscriptaccess" value="never" />
<param name="allowfullscreen" value="true" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="$url" width="$width" height="$height">
<param name="controller" value="true" />
Expand All @@ -997,6 +998,7 @@ public function embed($urls, $name, $width, $height, $options) {
<param name="scale" value="aspect" />
<param name="base" value="." />
<param name="allowscriptaccess" value="never" />
<param name="allowfullscreen" value="true" />
<!--<![endif]-->
$fallback
<!--[if !IE]>-->
Expand Down

0 comments on commit 2763514

Please sign in to comment.