A Different FLV Player For Icy...


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: [Download] [Hide] [Select]
// FLASH, SWF, FLV,

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


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

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



FIND
Code: [Download] [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: [Download] [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

Last edited by DWho on Sun 12 Oct, 2008 21:53; edited 1 time in total

FLA player for IcyPhoenix.rar
Description:  
Download
Filename: FLA player for IcyPhoenix.rar
Filesize: 256.15 KB
Downloaded: 226 Time(s)

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


Enjoy

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)

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

:mrgreen: :mrgreen:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1976s (PHP: 10% SQL: 90%)
SQL queries: 18 - Debug Off - GZIP Enabled