SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist hantaah's Avatar
    Join Date
    Jul 2011
    Location
    Birmingham, Uk
    Posts
    562
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    html5 mime issie in firefox

    I'm using html5 video player with mp4 extention. It is showing in chrome but firefox is showing an error: " no video with supported format and mime type found "

    What's wrong with this as I thought the html5 video was supported by all browsers now?

  2. #2
    SitePoint Enthusiast scout1idf's Avatar
    Join Date
    Nov 2009
    Location
    Ohio
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    According to W3schools, Firefox doesn't support mp4, just WebM and Ogg.

  3. #3
    SitePoint Evangelist hantaah's Avatar
    Join Date
    Jul 2011
    Location
    Birmingham, Uk
    Posts
    562
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by scout1idf View Post
    According to W3schools, Firefox doesn't support mp4, just WebM and Ogg.
    Ah right so it's a matter of including another link for webm or ogg.
    Many thanks

  4. #4
    SitePoint Member seosopt's Avatar
    Join Date
    May 2013
    Location
    Uk
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your server is not sending the correct mime type for the file.

    It send Content-Type: text/plain

    The HTML5 video may play in Safari, Chrome and IE 9 but not Firefox or IE 7-8. If you fix the MIME-type issue, it will play in Firefox.

    If you’re using the Apache web server or some derivative of Apache, you can use an AddType directive in your site-wide httpd.conf or in an .htaccess file in the directory where you store your video files. (If you use some other web server, consult your server’s documentation on how to set the Content-Type HTTP header for specific file types.)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •