MDL-17934 flv player in resources - allow full screen. Credit goes to Darren Jones. Merged from 19_STABLE

This commit is contained in:
stronk7 2009-03-02 23:41:55 +00:00
parent 11e5755908
commit 3b348bbf4d

View File

@ -574,7 +574,7 @@ class resource_file extends resource_base {
'<script type="text/javascript">'."\n". '<script type="text/javascript">'."\n".
'//<![CDATA['."\n". '//<![CDATA['."\n".
'var FO = { movie:"'.$CFG->wwwroot.'/filter/mediaplugin/flvplayer.swf?file='.$cleanurl.'",'."\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". 'UFO.create(FO, "'.$id.'");'."\n".
'//]]>'."\n". '//]]>'."\n".
'</script>'."\n"; '</script>'."\n";