Firefox html5 video support

1,097

Solution 1

Many of the features on that table are extremely new. The Media Source Extension spec, for example, is still a draft and is still being written. And it's being driven by Google and Netflix. It's going to take time for the spec to mature to a point where Mozilla want to spend any time implementing it.

h.264 support is somewhat easier (if you're on 12.04 - it's currently muddier if you're on 14.04):

sudo apt-get install ubuntu-restricted-extras

Update: In Firefox 30 (should be the default in all supported versions now), the feature is there but it's disabled by default. This should change in Firefox 31 but you can enable MSE by going to about:config (stick that in the address bar) and searching for mediasource. That should leave you with the media.mediasource.enabled option. Double click to enable.

On the Youtube panel the MSE & H.264 option is still crossed out... But the other two MSE options are now green.

Solution 2

On top of the accepted answer, on Ubuntu 14.10 (FF 36.0) to obtain the OK for the MSE & H.264 you should set this properties to true on about:config:

  • media.fragmented-mp4.exposed=true
  • media.fragmented-mp4.ffmpeg.enabled=true
  • media.mediasource.mp4.enabled=true

Here you can find more details

Solution 3

All the steps above greatly helped me above, for anyone stuck, i have listed a "all in one" fix

1) Open terminal and enter sudo apt-get install ubuntu-restricted-extras

2) open firefox and enter about:config in the address bar, then search : mediasource

3) Change all listed values to True

4) search media.fragmented-mp4 again set the 3 values from the top to true

5) Right click and select New then Boolean

6) enter in the box media.mediasource.ignore_codecs in the next box select true then ok

7) go to youtube.com/html5 and enjoy green :D

Solution 4

You need to create a new preference to do so:

  1. Type about:config and hit enter.
  2. Confirm you will be careful.
  3. Right-click and select New > Boolean.
  4. Name the preference media.mediasource.ignore_codecs.
  5. Set its value to True.

If you go back to YouTube's HTML page, you should see all six technologies listed as supported

Share:
1,097

Related videos on Youtube

Aldo
Author by

Aldo

Updated on September 18, 2022

Comments

  • Aldo
    Aldo over 1 year

    I have to validate an XML against its schema using [System.Xml.XmlReaderSettings] / [System.Xml.ValidationType]::Schema

    (Pseudo-sample)

    <?xml version="1.0" encoding="UTF-8"?>
        <rootelement>
          <firstnode>(here validation error against the schema)
          </firstnode>
         </rootelement>
    

    Now, it works perfectly fine if the XSD is on a file, like:

    $readerSettings = New-Object -TypeName System.Xml.XmlReaderSettings
    $readerSettings.Schemas.Add($namespace,"c:\schema.xsd")
    

    giving the correct validation error:

    Line: 1 Offset: 202 - The element 'FirstNode' has invalid child element 'Title'. List of possible elements expected: 'Description'.
    

    but using URI:

    $readerSettings.Schemas.Add($Namespace,'https://server:port/xmlschema/Schema.xsd')
    

    or StringReader:

    $CurrentXSD=Invoke-restMethod -Uri 'http://server:port/xmlschema/Schema.xsd'
    $readerSettings.Schemas.Add($Namespace,(new-Object System.IO.StringReader($CurrentXSD.OuterXML))
    

    it is not working, complaining that the root element is missing.

    Line: 1 Offset: 40 - The 'rootelement' element is not declared
    

    In all 3 scenarios the XSD is always the same, of course. Can someone please shed some light? Many thanks!

  • doug
    doug about 10 years
    FF 30 should become available in near future for 14.04 & it will support .h264 thru the gstreamer1.0-libav package. It's currently in utopic -proposed
  • Star OS
    Star OS over 8 years
    This is kind of incomplete...
  • hg8
    hg8 over 8 years
    Hi Coro, welcome to Ask Ubuntu. Can you include in your answer instructions on how to do that? Leaving a half-answer can often cause more harm than good. Thanks.
  • user
    user over 6 years
    That link is dead .