function play_movie($movie_file)
{
$movie = 'video/'.$movie_file;
$seperate = explode(".", $movie_file);
$movie_swf = 'video/'.$seperate[0].'.swf';
echo $movie_swf;
$play='
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="360" HEIGHT="240" id="<? echo $seperate[0];?>"><PARAM NAME=movie VALUE="<? echo $movie_swf?>"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="<?echo $movie_swf?>" quality=high bgcolor=#FFFFFF WIDTH="360" HEIGHT="240"
NAME="<? echo $movie_swf?>" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
';
echo $play;
$file = 'video/'.$seperate[0].'.mov';
}
Basically $movie_file gets passed in along the lines of this: name.flv and from their it should play, i do get a white box that show the browsers recognizes flash player. but it doesnt play anything. Thank you.
Actually i was attempting to make one swf that plays all of the files but it wouldnt work so i just published one seperate from flash.
This post has been edited by musya: 26 April 2008 - 01:47 PM

New Topic/Question
Reply



MultiQuote




|