Jump to content

Adding a .mov into a PHP file


julieb

Recommended Posts

Hi there..  I have a friend who wants to add a .mov to one of his php pages.  I have searched online for information, not sure how to do it. 

 

I know that I am suppose to convert it to a flv.. which is no problem for me.  But as far as script or do I need to pull it from a php file????  I don't know. 

 

I really appreciate your help.

 

Thank you

Julieb

Link to comment
https://forums.phpfreaks.com/topic/138191-adding-a-mov-into-a-php-file/
Share on other sites

If you are just adding the flash video to the php page, then it is probably no different than adding a flash video to an HTML page.  You need to convert it to flv, find an swf video player, and then the code to embed will look something like this:

 

<object type="application/x-shockwave-flash" width="320" height="260"

wmode="transparent" data="flvplayer.swf?file=movies/holiday.flv&autoStart=false">

<param name="movie" value="flvplayer.swf?file=movies/holiday.flv&autoStart=false" />

<param name="wmode" value="transparent" />

</object>

  • 5 weeks later...

Thanks so much.  I had figured it out.. that there is no difference.  I just thought that it would be some other wierd code.  :)

 

 

 

 

 

 

 

 

 

 

 

If you are just adding the flash video to the php page, then it is probably no different than adding a flash video to an HTML page.  You need to convert it to flv, find an swf video player, and then the code to embed will look something like this:

 

<object type="application/x-shockwave-flash" width="320" height="260"

wmode="transparent" data="flvplayer.swf?file=movies/holiday.flv&autoStart=false">

<param name="movie" value="flvplayer.swf?file=movies/holiday.flv&autoStart=false" />

<param name="wmode" value="transparent" />

</object>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.