]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17934 flv player in resources - allow full screen. Credit goes to Darren Jones...
authorstronk7 <stronk7>
Mon, 2 Mar 2009 23:41:55 +0000 (23:41 +0000)
committerstronk7 <stronk7>
Mon, 2 Mar 2009 23:41:55 +0000 (23:41 +0000)
mod/resource/type/file/resource.class.php

index 50beccfe3d780b31fc1690f75d13ba295ab0c714..e63abaad939c63bdc7e9b4528de980213f3ca965 100644 (file)
@@ -574,7 +574,7 @@ class resource_file extends resource_base {
                      '<script type="text/javascript">'."\n".
                      '//<![CDATA['."\n".
                        'var FO = { movie:"'.$CFG->wwwroot.'/filter/mediaplugin/flvplayer.swf?file='.$cleanurl.'",'."\n".
-                         'width:"600", height:"400", majorversion:"6", build:"40", allowscriptaccess:"never", quality: "high" };'."\n".
+                         'width:"600", height:"400", majorversion:"6", build:"40", allowscriptaccess:"never", allowfullscreen:"true", quality: "high" };'."\n".
                        'UFO.create(FO, "'.$id.'");'."\n".
                      '//]]>'."\n".
                      '</script>'."\n";