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
INLINE ADD AFTER
FIND
INLINE ADD AFTER
FIND
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>';
}
{
$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>';
}
ADD AFTER
elseif ($tag === 'fla')
{
$html = '<embed
src="player.swf"
width="470"
height="320"
bgcolor="undefined"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=' . $content . '"
/>';
}
{
$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
FLA player for IcyPhoenix.rar | ||
Description: | Download |
|
Filename: | FLA player for IcyPhoenix.rar | |
Filesize: | 256.15 KB | |
Downloaded: | 230 Time(s) |