I have a mkv file. It's video codec is avc and audio codec is ac3.
How can i put it into a html5 video tag?
I use the
<source src="01.mkv" type="video/x-matroska" codecs="a_ac3, avc">
but in safari 5 or chorome4 it doesn't works.
I have a mkv file. It's video codec is avc and audio codec is ac3.
How can i put it into a html5 video tag?
I use the
<source src="01.mkv" type="video/x-matroska" codecs="a_ac3, avc">
but in safari 5 or chorome4 it doesn't works.
<source
is not the top level HTML5 video tag, which is named <video>
. You can find out more from this tutorial. Are you using <source>
inside of <video>
?