Jump to content

<video> element issues with .mov and .mp4


BuildMyWeb

Recommended Posts

i dont know much of anything about video.  im trying to embed an HTML 5 <video> element.  the original file is in .mov format.  both video and audio seem fine in this original.  im told this is not compatible with the HTML 5 <video> element so my best bet is to convert it to mp4.  im using VLC player: http://www.videolan.org

 

when i convert the .mov to .mp4, the file both locally on my machine (windows media player) and on my webpage plays the video with no audio.

 

someone else told me to just simply rename the file from a .mov extension to a .mp4 with no 'conversion' necessary.  when i do this, the file plays both video and audio on my machine locally but still no audio on my webpage. 

 

anyone that can offer any help?

Link to comment
Share on other sites

Go for an MP4 (which is just a "container" for stuff) using H.264 video and AAC or MP3 audio. Not sure how you did the conversion but make sure you're converting to those formats.

 

when i convert the .mov to .mp4, the file both locally on my machine (windows media player) and on my webpage plays the video with no audio.

Could be you converted without audio, or to an audio codec not supported by WMP or the browser. Is the MOV (preferably) or MP4 (to see what's wrong) online somewhere we can see?

 

someone else told me to just simply rename the file from a .mov extension to a .mp4 with no 'conversion' necessary.

Very wrong. Edited by requinix
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.