Putting a mp4 video into a web page

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/”>

load it to Youtube and link

Do you have the Quicktime player plugin installed in your browser? Can you view other Quicktime movies online? Sounds silly, but I recently had so much trouble when I was testing Flash movies in IE in a new installation of XP - and then discovered my code was fine, I just didn’t have the Flash plugin installed. Duh.

Are you using a CMS? If you’re using WordPress, for example, you probably just can’t copy and paste that code into a post or a page. I know you can’t with YouTube videos. You may need to use a plugin to help with that.

Otherwise, I don’t know. It could help if you put the videos on a test page and link to it, and let us know what browsers you’re testing with.

Thanks Trisha,

I ended up using a .mov instead and that worked just fine. Still can’t figure what was not working with the mp4.

Yep, the QT player plugin is installed across all browsers I’m checking. I can see other videos just fine.

Nope, no CMS here. I typed in the URL directly to the .mov and the .mp4 and the .mov plays and the .mp4 does not. My guess is that something was done in how the .mp4 was saved that makes it incompatible with browsers/web. But that is beyond my control, it’s being provided to me.

I work on a Mac and look at FF and Safari there. I check winDOHS! for IE6, IE7 and FF.

Glad you found a way to do it. I’m the same as you - I work on a Mac and then check Windoze. :slight_smile:

I use Parallels to run Windoze. And I use a program called MultipleIEs to be able to check IE6 and IE7 at once.