https://www.icyphoenix.com/viewtopic.php?f=28&t=4868&p=32899#p32899
-----------------------------------
DWho
Thu 09 Oct, 2008 12:31

A Different FLV Player For Icy...
-----------------------------------
Hi

I have been working on this for a couple of days and finally got it to work with icy....

This will allow a different FLV player to use in posts for your site...

There is no bbcode images ... but you can just use the tags

OPEN [b]includes/bbcode.php[/b]
FIND
[codeblock]// FLASH, SWF,  FLV,[/codeblock]
INLINE ADD AFTER
[codeblock]FLA, [/codeblock]

FIND
[codeblock]if( ($tag === 'flash') || ($tag === 'swf') || ($tag === 'flv') ||[/codeblock]
INLINE ADD AFTER
[codeblock] ($tag === 'fla') ||[/codeblock]


FIND
[codeblock]				elseif ($tag === 'flv')
				{
					$html = '<object type="application/x-shockwave-flash" width="' . $width . '" height="' . $height . '" wmode="transparent" data="flv_player.swf?file=' . $content . '&amp;autoStart=false"><param name="movie" value="flv_player.swf?file=' . $content . '&amp;autoStart=false"/><param name="wmode" value="transparent"/></object>';
				}[/codeblock]
ADD AFTER
[codeblock]				elseif ($tag === 'fla')
				{
					$html = '<embed
src="player.swf"
width="470"
height="320"
bgcolor="undefined"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=' . $content . '"
/>';
				}[/codeblock]

player attached... just add player.swf to your IcyPheonix root...

included in the rar is a readme file which gives you many more option regarding changing colour and different skins..

That is it..

Use   [b][FLA][/FLA[/b]] To show the player

if anyone has any good additions or if my code is not quite correct please post here...

[color=chocolate][b]Update[/b][/color] I have added a pic of the player so you can see what it is like... this player also does full screen mode

[flash width=320 height=240]http://www.bbful.com/uploads/player.swf[/flash]

Enjoy


