Html 5 video tag and codecs problem -


I have an MKV file. This video codec is AVC and audio codec is AC3.

How can I put it in html5 video tags?

I use

  & lt; Source src = "01.mkv" type = "video / x-matreska" codecs = "a_ac3, avc" & gt;  

But this does not work in Safari 5 or chorome4.

Your & lt; Source & gt; The tag is malformed. You must enter the codec information inside the value of the type attribute instead, such as:

  & lt; Source src = "01.mkv" type = 'video / x-matroska; Codecs = "a_ac3, avc" & gt; The  

type attribute contains the full MIME specification, and for some codes codecs is an optional parameter. & lt; Video & gt; There is no separate codecs attribute on the tag.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -