MDL-52304 media: Allow full screen in Flash player
authorMichael Aherne <michael.aherne@strath.ac.uk>
Wed, 25 Nov 2015 10:18:35 +0000 (10:18 +0000)
committerDavid Monllao <davidm@moodle.com>
Fri, 4 Dec 2015 02:06:14 +0000 (10:06 +0800)
lib/medialib.php

index 34c2829..a32a34c 100644 (file)
@@ -989,6 +989,7 @@ class core_media_player_swf extends core_media_player {
     <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" />
@@ -997,6 +998,7 @@ class core_media_player_swf extends core_media_player {
       <param name="scale" value="aspect" />
       <param name="base" value="." />
       <param name="allowscriptaccess" value="never" />
+      <param name="allowfullscreen" value="true" />
 <!--<![endif]-->
 $fallback
 <!--[if !IE]>-->