Content-Type “video/mp4” is not supported on website, but downloaded video plays fine (Linux/Fedora30)
I cannot play mp4/h264 videos on websites, but I can download the file and play it in the browser just fine (ffmpeg is installed). == From twitter web page: error in web…
I cannot play mp4/h264 videos on websites, but I can download the file and play it in the browser just fine (ffmpeg is installed).
== From twitter web page: error in web console:
For example, on twitter i get a "the media could not be played" placeholder and this in the web console:
HTTP “Content-Type” of “video/mp4” is not supported. Load of media resource https://video.twimg.com/amplify_video/1149302678771683333/vid/1280x720/qFCcMLAnjR_MBans.mp4?tag=13 failed. home
The video on this page can’t be played. Your system may not have the required video codecs for: video/mp4; codecs="avc1.42E01E mp4a.40.2"
== Local file in firefox
When I put that mp4 link in the address bar, it gives me a download dialog, I can download that file, and play it in firefox from the command line:
== Local html file with control element:
The same file plays fine also when i open a local html file with the vide controls element. So why do I get those errors when this is viewed on the twitter website?
Any pointers appreciated.
We host a ton of h.264 videos in the mp4 container displayed through JW Player. We had zero problems with Firefox 34 and earlier playing these videos, the video is H.264…
We host a ton of h.264 videos in the mp4 container displayed through JW Player. We had zero problems with Firefox 34 and earlier playing these videos, the video is H.264 and the audio is AAC, the whole thing is around 500 kbit/s.
They play fine on Firefox 34, Chrome and IE but after updating to Firefox 35.0 we get an error: "Error loading media: File could not be played".
We have found a fix to get them to work in the about:config, switching "media.fragmented-mp4.enabled" to false OR switching "media.fragmented-mp4.exposed" to false will allow our videos to play. Single file mp4's will also begin to download where before we would get a "Video can't be played because the file is corrupt."
Alternatively for Mac users if they just set media.apple.mp4.enabled to False it also works fine.
Non h.264 mp4 videos will play fine.
Here is a playlist that won't play: http://media.vineyardinstitute.org/other/vi_announcement/firefox-test.html Here is the single video file: http://media.vineyardinstitute.org/other/vi_announcement/05_kingdom_theology.mp4
Is there anything I can change on either the playlist or the video files to get this to work? Why would the h.264 files that worked in Firefox 34 NOT work in 35? I will not be able to re-encode all of the videos, it would take me months. Is this a bug with Firefox?
Also I have tried this in safe mode, tried with every plugin deactivated, I have uninstalled Flash and the videos would not play as well as reinstalling a new version of Flash and a fresh copy of Firefox 35.0
Any help would be much appreciated, we are currently directing all of our users away from Firefox till we get this resolved.