This is the code I tried:
<video controls="" src="C:\Users\SIVA\Videos\The.Boss.Baby.2017.720P.Bluray.X264-[Yts.Ag]-1-1-1.m4v" type="video/mp4">
</video>
It works well on Chrome, Edge, IE, but not in Firefox. Instead it shows:
No video with supported format and mime type found.
But it supports youtube videos. How can I fix the issue in Firefox?
The firefox cannot open .m4v file, however, you can wrap it to the object tag to let some plugin deal with it.
See the answer to the question in mozila support for more details.
Related
I have two video tag, one work fine but second give me error,
no video with supported format and mime.
This is First video tag. Which work fine and take this e.g from This Link.
<video loop controls class="popvideo">
<source src="https://archive.org/download/WebmVp8Vorbis/webmvp8_512kb.mp4" type="video/mp4">
Your browser doesn't support HTML5 video tag.
</video>
Second video tag which is not working on desktop but work in android firefox version, and throw me error.
<video class="popvideo" loop controls id="v1">
<source src="https://video.twimg.com/amplify_video/771965608854446080/vid/480x360/J-cvquAduyhPHJmg.mp4" type="video/mp4; codecs='avc1.42E01E, mp4a.40.2'">
<!--<source src="https://video.twimg.com/amplify_video/771965608854446080/vid/480x360/J-cvquAduyhPHJmg.mp4" type="video/mp4;">
if i do this too nothing happen, i still get error-->
Your browser doesn't support HTML5 video tag.
</video>
i have add this to my .haccess but none helped.
AddType video/mp4 mp4 m4v f4v f4p
AddType video/ogg ogv
AddType video/webm webm
AddType video/x-flv flv
So my question is why this is happening? if you will say Fire fox don't support mp4 then i will tell first example is taken form respected site only.
The second source that you commented out that you said "also doesn't work" has an error in it - If you look at it, there's a semi-colon before the quotes, after the mp4. When you remove the semi-colon, your video plays fine.
It then becomes:
<video class="popvideo" loop controls id="v1">
<source src="https://video.twimg.com/amplify_video/771965608854446080/vid/480x360/J-cvquAduyhPHJmg.mp4" type="video/mp4">
Your browser doesn't support HTML5 video tag.
</video>
The 'No video with supported format or mime type" error was logged as a known bug with firefox a long time ago, and fixes were suggested and it is marked as fully resolved. Have you updated to the latest desktop version? The bug was 990623 - the solutions suggested were to reload (after updating ff), by pressing ctrl+shift +r and if that didn't work, to just right click on the video and choose 'View Video', and that would play the video. The ultimate solution is to restore Firefox, it seems the issue was caused primarily by conflicts with add-ons etc. It's not ideal, because you'll have to re-install any add ons but it works (see screenshot)
So to sum up, your issue is not the video itself, it's more a firefox issue...
Hope this helps
fiddle
Check your type="video/mp4; codecs='avc1.42E01E, mp4a.40.2'" attributes from Video Codecs
<source src="https://video.twimg.com/amplify_video/771965608854446080/vid/480x360/J-cvquAduyhPHJmg.mp4" type="video/mp4; codecs='avc1.42E01E, mp4a.40.2'">
Check all browser support for HTML-5 video HTML 5 Video - Browser Support
I assume it means the codec which is required to decode (and thus play) the video is available on the phone, but not on your desktop. Try another video or encode yours with an open source codec which supported by Firefox out of the box.
Also, note that the filename extension is practically meaningless for videos - it is merely a container format. The actual encoding of the contents in the container is what matters - and it, in turn can vary wildly.
I'm building a web page and want to add HTML video. It works fine in Chrome etc., but not in Firefox. I can hear the sound, but firefox is unable to show the picture, I get grey screen instead.
I've got Firefox 25.0.1
Here is my code:
<figure id="video">
<video width="320" height="240" controls>
<source src="vid/asd.mp4" type="video/mp4">
<source src="vid/asd.ogg" type="video/ogg">
Sorry Your browser cannot play HTML5 video.
</video><br/>
<img src="img/pic.jpg" alt="Pics"/>
<figcaption>Some text here
<br/>size: 6,95MB</figcaption>
</figure>
<video> works for me in Firefox 25.0.1/Windows Vista. Maybe it's a problem with a movie? Try this demo.
Also, from the Mozilla website:
To avoid patent issues, support for MPEG 4, H.264, MP3 and AAC is not built directly into Firefox on desktop and mobile (Android and Firefox OS). Instead it relies on support from the OS or hardware.
Interesting well ask yourself what version of firefox your running and take a look at
http://www.videojs.com/
Hope that helps ^_^
Well honestly I use firefox also but, Hmmm. Well remember to always to put .mp4 first! Because if not that creates some interesting bugs for ios...
This was a school project, just found out that the school's servers are not able to auto-get the MIME type under firefox. I had to add .htacces file
on all browsers follows video plays but not on chrome.
http://www.cool-mobile-stuff.com/view.php?id=14
is there any solution? The mimetype is fine. its video/mp4 not sure what's wrong.
later i came to know that mp4 is not supported in chrome. The chrome support .webm format for videos in html5. I converted video to .webm using free converter winff and added
<source src="video.webm" type="video/webm">
to my video tag and it worked fine. Hope it can help others.
Google Chrome supports MP4; it's Chromium that does not: http://www.chromium.org/audio-video
I had a similar issue to this (except video wouldn't play at all) and found that removing the call to mediaelement.play() enabled it to work.
I still don't know why, the MediaElement demo works fine for me...! Yet I can set my own page up almost exactly the same and run it from the same server with the exact same video and it doesn't work.
I’m having a problem getting HTML5 to work in IE9. It showed up as a failure to execute the video tag. It works fine in Firefox, Opera and Safari but I just got a blank screen in IE. This is the code:
<video width="320" height="240" controls="controls">
<source src="video1.mp4" type="video/mp4"/>
<source src="video1.ogg" type="video/ogg"/>
</video>
Then I ran the HTML5 compatibility test at http://html5test.com and I also got a blank screen in IE, so it’s more than the video tag that’s at issue.
Then I tried running an .mp4 sample video online ( http://archive.org/details/Pbtestfilemp4videotestmp4 ) - it does not run within the browser, but opens in VLC player! In Firefox, Opera and Safari, it runs in the browser.
I’ve reinstalled IE – no good. When I check the IE version, it says Internet Explorer 9, but after "Version:", there's a blank.
Any ideas?
I had a similar issue and it turned out that my server wasn't returning the correct MIME type for the video object. Check out this guy's info - http://blogs.msdn.com/b/thebeebs/archive/2011/07/20/html5-video-not-working-in-ie9-some-tips-to-debug.aspx
I just added this code to my .htaccess file and it worked immediately -
AddType video/mp4 .mp4
use [HTML5Shiv] to enable HTML5 tag for Internet Explorer. And add WebM video format to the sources
I'm having an issue with getting local videos working for the HTML5 Video element.
If I try and view a local OGG or WebM file directly, in Firefox 16.0.2 it works, but in chrome 22 it does not work!
However, if I view an OGG file on another webserver, it works correctly.
For example this file
http://www.quackit.com/video/pass-countdown.ogg
Works correctly for me, but if I save it onto my own server as
http://test.jammaloo.com/pass.ogg
Then it works in Firefox, but Chrome will not play it.
I believe the mimetype is being set correctly, can anyone help me track down the issue?
First of all try with adding support for more video types
Link - http://www.htmlgoodies.com/html5/client/how-to-embed-video-using-html5.html
video id="sampleMovie" width="640" height="360" preload controls
<source src="HTML5Sample_H264.mov" type='video/mp4;' />
<source src="HTML5Sample_Ogg.ogv" type='video/ogg;' />
<source src="HTML5Sample_WebM.webm" type='video/webm;' />
video
Second check your .htaccess file for content type - add mime type for webm, ogg, mp4
Link - http://docs.sublimevideo.net/troubleshooting
Link - http://www.htaccess-guide.com/adding-mime-types/
These solved my problem of playing video in HTML5 video tag. Hope it helps you too.
As i checked in the CHROME your content is not getting loaded with correct "TYPE"
If applicable (and nothing works) you can use- http://www.longtailvideo.com/players