Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

No Video with Supported Format and Mime Type Found | Firefox OGG WebM

December 27, 2013 2 Comments

Firefox fails to display HTML 5 OGG and WebM video formats on the page and displays the error – “No Video with Supported Format and Mime Type Found“

The issue is that the web server doesn’t quite know what to think of these formats and serves them out in the wrong type of format which the browser doesn’t understand. What you need to do is add the correct file types of OGG and WebM for video to the Web Server for those file extensions. MP4 will be Ok as that fomat is more widely adopted.

Apache WebServer

To fix this issue on Apache you need to add the following content to the ‘.htaccess‘ file which is found in your document root (public_html or htdocs). As it starts with a ‘.’ it is invisible to some browsing apps make sure you have a ‘show invisible files’ settings enabled. Below is the setting for the free FTP client Cyberduck

show htaccess file

Just paste this at the very head of the .htaccess file and save:

AddType video/mp4 mp4 m4v
AddType audio/mp4 m4a
AddType video/ogg ogv
AddType audio/ogg ogg oga
AddType video/webm webm

You can also add these mime types directly in the Apache configuration file ‘mime.types’, this way it will affect all sites that share the same server. Open the file below – 

 /etc/httpd/conf/mime.types

Add in –

video/mp4 mp4 m4v
video/ogg ogv
video/webm webm
audio/mp4 m4a
audio/ogg ogg oga

Restart Apache –

sudo apachectl restart

That should solve any Firefox browser issues. However what if your video/audio files are being served from a cloud style storage solution like Amazon S3, this will also needs mime types added.

Amazon S3 Mime Types Serving

There are a few ways to do this – directly in S3 or via an FTP client.

Directly in S3

s3 meta data settings

Select the file and in the Properties set the Key and the Value to ‘Content-Type’ and then the required ‘video/extension‘. This doesn’t always take immediate affect on existing files and a replacement upload with a different filename and the correct key/value applied will force it to work in the browser.

Directly in Cyberduck (Mac & PC)

cyberduck mime type settings

Rather than go through the S3 web interface you can create a more user friendly connection to the storage buckets via Cyberduck.

Navigate to the file and ‘Get Info’ (command+i), then set the name and value. Once done one time, files of the same type will automatically get the correct mime types.

Directly in Transmit (Mac)

transmit mime settings

In Transmit (preferences > Cloud) you can permanently add in the name/value pairs so all subsequent uploads will contain the mime type.

Name / Value Pairs

The Name is Content-Type

The Value is one of the following:

  • video/mp4
  • video/ogg
  • video/webm
  • audio/mp4
  • audio/ogg

That’s the lot, all you needed to know about mime content headers but were too afraid too ask. Below is some additional information on setting up the key video players for general use and for responsive design techniques – enjoy!

  • JW Player
  • MediaElementJS
  • Sublime
  • Video For Everybody
  • VideoJS
  • Vimeo
  • YouTube
  • Main Article

Cats: WebDev

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • Matter update may finally take the tedium out of setting up your smart home
  • Cue: Apple will add AI search in mobile Safari, challenging Google
  • Apps like Kindle are already taking advantage of court-mandated iOS App Store changes
  • Spotify seizes the day after Apple is forced to allow external payments
  • Apple and Meta furious at EU over fines totaling €700 million

RSS mac surfer

  • Tot is new text editor for Mac, iPhone, and iPad focused on constraints and ease of use
  • TiPbITS: Google Drive Sorting Can Hide New Documents
  • How to take a screenshot on a MacBook Pro
  • How To Create Simple Animation With Mac Keynote
  • Last Week on My Mac: Virus pandemics

Donate

Copyright © 2025· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2025 · gee on Genesis Framework · WordPress · Log in