Welcome to WebmasterWorld Guest from 54.234.153.186

Forum Moderators: open

Message Too Old, No Replies

Embedding mp4 with static image

how to edit this code for adding an initial static image

     

awebstore

10:35 pm on Oct 2, 2009 (gmt 0)

5+ Year Member



I have been using .mov files on my site and want to start using mp4

I have this form to embed the mp4
I have set my .htaccess to allow mp4 mime type

How do I append this code to enable a .jpg image to show before the movie is linked by the viewer.

Ken

Here's the code now in use
OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width='480' height='375' codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
<param name='Movie' value='DD41.mp4'>
<param name='autoplay' value='true'>
<param name='controller' value='true'>
<param name='loop' value='true'>
<embed src='DD41.mp4' width='480' height='375' autoplay='true'
controller='true' loop='true' pluginspage='http://www.apple.com/quicktime/download/'>
</embed>
</OBJECT>

travelin cat

11:27 pm on Oct 2, 2009 (gmt 0)

WebmasterWorld Administrator travelin_cat is a WebmasterWorld Top Contributor of All Time 10+ Year Member



awebstore,

Welcome to Webmaster World!

Do you mean that you would like to have a .jpg on a page that would then be clicked on to start playing the mp4?

awebstore

11:36 pm on Oct 2, 2009 (gmt 0)

5+ Year Member



Yes, I can do that with a LongTail flash player for .flv files but I wanted to see if MP4 can be used;

I have not found the right code to embed it yet
and the neat feature of the flash player is that it allows me to post a static image that the public sees and clicks to 'start' the real video

Thus I am looking for such for mp4

ken

travelin cat

2:42 pm on Oct 6, 2009 (gmt 0)

WebmasterWorld Administrator travelin_cat is a WebmasterWorld Top Contributor of All Time 10+ Year Member



awebstore,

Sounds like you want to create a "poster frame". This can be accomplished with a good video editor.

Basically you choose a frame in your video, and tell the software to use that frame as the opening still image. When it is clicked on, the video starts.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month