Forum Moderators: not2easy

Message Too Old, No Replies

integrate media player

media player

         

anixponse

7:30 am on Jan 5, 2005 (gmt 0)

10+ Year Member



Hello there,

I am designing a html page where i have integrated Media Player.

I nedd to display a .avi file which is near about 25 MB.

It takes a hell lot of time to download and after it is downloaded it doesn't play. Only the sound appears not the pic.

What i ant is it will buffer the first part and start playing... and then the next part and start playing.

Is this possible? I have searchd a lot in net but couldn't come up with any sollution.

Please help in resolving this.

With regards
Ani

ahmedtheking

10:48 am on Jan 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, try recompressing it so that it has whats called as a 'Fast Start'. once youve done that, scan google for the code to integrate the file into html! For eg:

if the file is a avi or can play in quicktime, use this:

<!-- START QUICKTIME CONTENT -->
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="256" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="autoplay" value="true" />
<param name="controller" value="true" />
<param name="pluginspage" value="http://www.apple.com/quicktime/download/indext.html" />
<param name="target" value="myself" />
<param name="type" value="video/quicktime" />
<param name="src" value="file:///Macintosh HD/Users/ahmed/Sites/FireStarter/site/config.php" />
<embed src="file:///Macintosh HD/Users/ahmed/Sites/FireStarter/site/config.php" width="320" height="256" autoplay="true" controller="true" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html" target="myself"></embed>
</object>
<!-- END QUICKTIME CONTENT -->

NOTE: change file:///Macintosh HD/Users/ahmed/Sites/FireStarter/site/config.php to point to your file!