From: stronk7 <stronk7> Date: Mon, 2 Mar 2009 23:41:55 +0000 (+0000) Subject: MDL-17934 flv player in resources - allow full screen. Credit goes to Darren Jones... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3b348bbf4de06581c5558220e7f5a2ae1e76c333;p=moodle.git MDL-17934 flv player in resources - allow full screen. Credit goes to Darren Jones. Merged from 19_STABLE --- diff --git a/mod/resource/type/file/resource.class.php b/mod/resource/type/file/resource.class.php index 50beccfe3d..e63abaad93 100644 --- a/mod/resource/type/file/resource.class.php +++ b/mod/resource/type/file/resource.class.php @@ -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";