http://www.icyphoenix.com/viewtopic.php?f=4&t=8162&p=54385#p54385
-----------------------------------
scorpsportal
Sat 29 Oct, 2011 13:49

Re: FLV Player Allow Fullscreen
-----------------------------------
Thanks [b]TheSteffen[/b], I prefer that version as well.

I did the following to enable fullscreen and to have a standard placeholder for all videos:

[list][*]Download the Zip-archive at the bottom of the page linked to in [url=viewtopic.php?p=54308#p54308][b]TheSteffen[/b]'s last post above.
[*]Open the archive and extract the file [i]mediaplayer.swf[/i].
[*]Rename to [i]flv_player.swf[/i] and upload to the root of your Icy Phoenix installation.
[*]Create a file called [i]clicktostart.gif[/i] for a placeholder and upload it to the root as well. I made it 320x180, which is small and 16:9.
[*]OPEN [b]includes/bbcode.php[/b]
[*]FIND
[codeblock]				elseif ($tag === 'flv')
				{
					$html = '<object type="application/x-shockwave-flash" width="' . $width . '" height="' . $height . '" wmode="transparent" data="flv_player.swf?file=' . $content . '&autoStart=false"><param name="movie" value="flv_player.swf?file=' . $content . '&autoStart=false"/><param name="wmode" value="transparent"/></object>';
				}[/codeblock]
[*]REPLACE WITH
[codeblock]				elseif ($tag === 'flv')
				{
					$html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' . $width . '" height="' . $height . '" id="single1" name="single1"><param name="movie" value="flv_player.swf"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="wmode" value="transparent"><param name="flashvars" value="file=' . $content . '"><embed type="application/x-shockwave-flash" id="single2" name="single2" src="flv_player.swf" width="' . $width . '" height="' . $height . '" bgcolor="undefined" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" flashvars="file=' . $content . '&image=clicktostart.gif" /></object>';
				}[/codeblock][/list]

If you don't care for the placeholder, just remove this bit:

[codeblock]&image=clicktostart.gif[/codeblock]

[i]Note: If you already posted some videos on your website using the bbcode [b][flv][/b] before making the above changes, you may have to go to each of those posts, click 'Edit' and then click 'Submit' to parse the altered html code.[/i]


