https://www.icyphoenix.com/viewtopic.php?f=28&t=4868
-----------------------------------
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


-----------------------------------
DWho
Sun 12 Oct, 2008 21:53

Re: A Different FLV Player For Icy...
-----------------------------------
Update to first post with an image of the player...


Enjoy


-----------------------------------
Chaotic
Sun 12 Oct, 2008 22:00

Re: A Different FLV Player For Icy...
-----------------------------------
Something worth mentioning about the JW FLV Media Player:

http://www.jeroenwijering.com/?page=thankyou


The JW Players are licensed under a Creative Commons license. It allows you to use, modify and redistribute the script for noncommercial purposes. For all other use, buy a commercial license.

You must buy a commercial license if:

   1. Your site has any ads (AdSense, display banners, etc.)
   2. You want to remove the players' attribution (eliminate the right-click link)
   3. You are a corporation (governmental or nonprofit use is free)


-----------------------------------
DWho
Sun 12 Oct, 2008 22:53

Re: A Different FLV Player For Icy...
-----------------------------------
Thanks totally forgot about that part....

 :mrgreen:  :mrgreen:


