Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

putting a mp4 video into a web page

mp4 video code



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

5+ Year Member

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)

WebmasterWorld Senior Member 5+ Year Member

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

AddType video/mp4v-es .mp4


Featured Threads

Hot Threads This Week

Hot Threads This Month