A Different FLV Player For Icy... »  Show posts from    to     

Icy Phoenix


Old Customizations - A Different FLV Player For Icy...



DWho [ Thu 09 Oct, 2008 12:31 ]
Post subject: 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 includes/bbcode.php
FIND
Code: [Hide] [Select]
// FLASH, SWF, FLV,

INLINE ADD AFTER
Code: [Hide] [Select]
FLA,


FIND
Code: [Hide] [Select]
if( ($tag === 'flash') || ($tag === 'swf') || ($tag === 'flv') ||

INLINE ADD AFTER
Code: [Hide] [Select]
($tag === 'fla') ||



FIND
Code: [Hide] [Select]
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>';
}

ADD AFTER
Code: [Hide] [Select]
elseif ($tag === 'fla')
{
$html = '<embed
src="player.swf"
width="470"
height="320"
bgcolor="undefined"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=' . $content . '"
/>';
}


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 [FLA][/FLA] To show the player

if anyone has any good additions or if my code is not quite correct please post here...

Update I have added a pic of the player so you can see what it is like... this player also does full screen mode



Enjoy


DWho [ Sun 12 Oct, 2008 21:53 ]
Post subject: 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 ]
Post subject: 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 ]
Post subject: Re: A Different FLV Player For Icy...
Thanks totally forgot about that part....





Powered by Icy Phoenix