I cannot get my mp4 video to play in Firefox - it simply says " No video with supported format and MIME type found". Here's my HTML...
<video poster="images/video.png" width="100%" controls autoplay>
<source src="images/polutionbbc.mp4" class="videoplayer" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
</video>
The video plays well in other browsers. I have read other similar questions here on Stackoverflow and some people are saying that FF just will not play mp4 video at all due to licensing...
Playing MP4 files in Firefox using HTML5 video
That assumed therefore, could anybody please suggest either a fix or an alternative video format that plays universally across browsers and how I would convert it?
I am hosting with hostgator and I have checked the list of mime types and mp4 is listed there so I dont think it is that.
You should use .ogg for firefox and opera, according to w3schools you can include both formats to make it work on all modern browsers
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
Link: http://www.w3schools.com/html/html5_video.asp
Here you have some info about compatibility between video/audio formats :
https://developer.mozilla.org/en-US/docs/HTML/Supported_media_formats?redirectlocale=en-US&redirectslug=Media_formats_supported_by_the_audio_and_video_elements
I solved this - the commenter was correct I need to run both mp4 and ogg videos. To do this step-by-step including converting mp4 to ogg for free using VLC media player see this video http://www.youtube.com/watch?v=vNxb6bnTpP0
<video controls>
<source src="https://videocdn.whipclip.com/video/55eby.mp4?v=2" type="video/mp4">
<object type="video/mp4" data="https://videocdn.whipclip.com/video/55eby.mp4?v=2" width="568" height="320"/>
I'm sorry; your browser doesn't support HTML5 video in MP4 with H.264.
</video>
Related
I have converted my video to .mp4 and .webm formats for use on the web. As from my understanding Firefox doesn't support .mp4 but its does support .webm
This means having both should support all browsers.
I have the following HTML to display my video,
<video width="100%" height="auto" controls>
<source src="6-steps-to-becoming-an-elite-internet-marketer\_\video\mp4\part-0-t4ej1dbeuk.mp4" type="video/mp4">
<source src="6-steps-to-becoming-an-elite-internet-marketer\_\video\webm\part-0-t4ej1dbeuk.webm" type="video/webm">
Oppps! Your browser appears to not be able to play this video. Please update it!
</video>
It works in Chrome, IE and Safari however not in Firefox.
I get the error message "No Video with supported format and MME type found"
I've added the following into my .htaccess to support all types.
# HTML5 video to work in all browsers
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm
I've spent hours on this very issue but just having no luck.
I fixed it!
Firefox are very specific on the type of slashes you can use. I was using backwards slashes copied from a windows file path.
Soon as I changed the slashes to forward such as the following,
<source src="6-steps-to-becoming-an-elite-internet-marketer/_/video/mp4/part-0-t4ej1dbeuk.mp4" type="video/mp4">
It worked! .mp4 video works too, like perfect!
So it was never anything to do with the file or MME types. Hope this helps someone out there who finds themselves in the same shoes.
I am hoping someone has an idea on what I can do to help me play HTML5 videos on my local intranet.
My Web server= Windows Server 2008 R2 Standard 64bit
IIS version= IIS7
Test User environment = Windows 7 Enterprise
Video plays perfectly using 'Google Chrome'
Video fails to play using 'IE10'
My html code is as follows:
<!DOCTYPE html>
<html>
<body>
<video src="AccReadings.mp4" width="400" height="300" preload controls>
</video>
</body>
</html>
My test machine using IE10 does play HTML5Rocks video 'http://craftymind.com/factory/html5video/CanvasVideo.html'
Regards,
Chris
Make sure you set the web server to use a MIME type video/mp4 for .mp4. I accidentally set .mp4 to use MIME type video/mpeg, the video plays in Chrome, but not in IE11.
Also you need to make sure the video uses H264 video codec and AAC audio codec
I just had a similar problem, my own site HTML5 did not work at all. No error message just blank.
The reason was Windows7 N (EU - no media player).
After installing the Windows Media Player, this (and also other problems) are fixed.
I hope it helps :)
It doesn't look like it works in Win7+IE10 for some reason. Everything else looks good. Tested against the following pages, which includes ie.microsoft.com test.
http://ie.microsoft.com/testdrive/graphics/videoformatsupport/default.html
http://www.w3.org/2010/05/video/mediaevents.html
Win7 IE9 – OK
Win7 IE10 – nope
Win8 IE10 – OK
Win7 IE11 – OK
Win8 IE11 – OK
BrowserStack screenshots for the MS test page.
http://www.browserstack.com/screenshots/9083c865675d0821ee8b1030a43da5fd36bff469
I don't have IE10 installed, however, according to caniuseit, mp4 is supported in IE9 and 10.
The following html works for me in IE9 & Chrome, note your video file must be in the same folder as your html page on the server (in this example).
<!DOCTYPE html>
<html>
<body>
<video src="abc.mp4" width="640" height="480" preload controls></video>
</body>
</html>
Edit: I have installed IE10 and can confirm the above works there too.
Edit: Since Firefox does not support mp4, and older browsers do not support video natively at all, it is better to provide multiple sources (formats), and fall back, usually to a flash player.
<!DOCTYPE html>
<html>
<body>
<video width="640" height="480" preload controls>
<!-- mp4 supported by Chrome & IE9/10 -->
<source src="abc.mp4" type="video/mp4"></source>
<!-- webm supported by Firefox -->
<source src="abc.webm" type="video/webm"></source>
<!-- last element in video is fall back for native video support, usually a flash player -->
<object type="application/x-shockwave-flash ...>
<!-- last element flash player is usual fall back for flash support, usually some "not supported text" -->
<div>
Your browser does not natively support flash and you do not have flast installed.
</div>
</object>
</video>
</body>
</html>
Maybe you have video card driver problem as mentioned in Cannot play neither IE10 HTML5 video nor Modern UI apps video.
Disable GPU rendering in IE as:
Internet Options > Advanced > Accelerated graphics > Use software rendering instead of GPU rendering
And see if it works.
I have had a lot of problems with IE10 playing html5 video.
The last thing I checked was the right oe : videos were gzip compressed.
Check your server config!!!
EDIT :
To know if your videos are getting compressed by the server, use a network proxy sniffer like Charles for example, or even IE's debugger and check the response header to the video file request. If you find Content-Encoding:gzip, then you should check your server config.
In my case I had to disable gzip compression on video files in my .htaccess file.
This is the code I use for my html5 videos:
<div>
<video id="example_video_1" class="video-js vjs-default-skin"
controls preload="none" width="auto" height="auto"
poster="path/to/image.png"
data-setup='{"example_option":true, "autoplay": true}'>
<source src="path/to/video.ogv" type='video/ogg' />
<source src="path/to/video.webm" type='video/webm' />
<source src="path/to/video.mp4" type='video/mp4' />
<!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. -->
<object class="vjs-flash-fallback" width="640" height="360" type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
<param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
<param name="allowfullscreen" value="true" />
<param name="flashvars" value='config={"playlist":["path/to/image.png", {"url": "path/to/video.flv","autoPlay":false,"autoBuffering":true}]}' />
<!-- Image Fallback. Typically the same as the poster image. -->
<img src="path/to/image.png" width="640" height="264" alt="Poster Image" title="No video playback capabilities." />
</object>
</video>
This should work on all devices/browsers. I have called the wideos in that specific order to allow modern browsers to load them faster (chrome can play ogg/webm/mp4 - from testing my videos ogg/webm seem to load faster them mp4 so it will reduce buffering times)
I've had the exact same problem. My original resolution of the video was 1920x1200. Seems that IE10 has problems with that. First tests with lower resolution videos solved the problem.
so we're building a video site with a html5 player (and backup flash for windows).
But what's really stumping me is when i view this file in firefox it plays;
http://www.roguefilms.com.local/media/uploads/2010/07/1495/8_lg-poke.mov (stored locally) but when its in the html video tag is does nothing. It shows the poster but doesn't play the video. It doesn't even show the 'Sorry - your browser is not supported!'
I know ff prefers ogg and we can use the flash backup player but if it can play it as a ht64 .mov without the player why can't it with? Seems a bit daft?
If anyone knows anything it would be great...
<video controls="controls"
id="myVideo"
src="/media/uploads/2010/07/1495/8_lg-poke.mov"
poster="/media/uploads/2010/07/1495/still.jpg"
height="360"
width="640">
Sorry - your browser is not supported!
</video>
best, Dan.
When you just load the .mov file, the content-type your server provides causes Firefox to check and see and see if any plugins handle the content. In this case, QuickTime handles it, which is why it plays.
The video tag doesn't launch plugins to play content, however.
Firefox doesn't support h264, as you mentioned, although am surprised it plays the video in its own, unless its forcing it into a Flash player automatically, which is possible.
To get the "sorry" message to display you'll need to use the source element:
<video controls="controls" id="myVideo" poster="/media/uploads/2010/07/1495/still.jpg" height="360" width="640">
<source src="/media/uploads/2010/07/1495/8_lg-poke.mov">
Sorry - your browser is not supported!
</video>
I wrote this back in April of last year, but it might help: html5laboratory - using the video element.
We once had a similar issue with the web server (Apache, in our case) not sending the proper MIME-type for the video file and Firefox first downloaded it completely before starting to play it. Is it possible that the player would work if you just waited long enough? You could use Firebug to see if your browser transfers anything.
Hey all,
I've got an HTML5 video on a page. When tested locally, Chrome, Safari, and Opera work beautifully. Firefox plays it, but doesn't loop as efficiently as the others. The real problem is when it's tested off a server. Firefox doesn't play the video, but recognizes there is one there. I was wondering if all that open ended three-different-ways syntax can be swung in Firefox's favor.
Thanks!
HTML:
<video id="vid_home" width="780" height="520" autoplay="autoplay" loop="loop">
<source src="Video/fernando.ogv" type="video/ogg" />
<source src="Video/fernando.m4v" type="video/mp4" />
Your browser does not support this videos playback.
</video>
take out the closing tag from your source tag, it should work then
I have an ogg/audio file converted from mp3 using Alt WAV MP3 Ogg Converter.
When I drag and drop the file in Firefox or in Google Chrome, the audio plays nicely.
But when a use the following code to place the file inside a page it only works on Chrome.
My code is simple as that:
<audio controls>
<source src="foo.ogg" type="audio/ogg">
</audio>
Someone can tell me why?
Thanks
I think you can find your answer here.
In my case I had to add MIME types to our nginx server.
Because this works on IE:
<source src="foo.ogg" type="audio/mp3">`
And this works on Chrome, Mozilla, Safari, Opera
<source src="foo.ogg" type="audio/ogg">