homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

putting a mp4 video into a web page
mp4 video code

 9:22 pm on May 7, 2008 (gmt 0)

Hi all,

I've been supplied a .mp4 video to display on one of our web pages. i've googled the heck out of this, found two approaches that both are not working for me. Am I doing something wrong in my code or is there a different/better approach I should be taking?

First Method:
<embed src="videos/InfoPlus.mp4" width="480" height="375" pluginspage="http://www.apple.com/quicktime/download/"></embed>

Second Method:
<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="480" height="375" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="Movie" value="videos/InfoPlus.mp4">
<param name="autoplay" value="true">
<param name="controller" value="true">
<param name="loop" value="true">
<EMBED src="videos/InfoPlus.mp4" width="480" height="375" autoplay="true"
controller="true" loop="true" pluginspage="http://www.apple.com/quicktime/download/">



 9:00 am on May 8, 2008 (gmt 0)

Assuming Apache, you need to set the MIME-type in an .htaccess file:

AddType video/mp4v-es .mp4

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved