wnas

html5 video and chrome

chrome video html5

Just found a weird feature in Google's chrome browser, version 5.0.375.70. It seems that if you put the ogg src before the mp4, it won't play...

      <video
        class="video"
        poster="https://wnas.nl/files/movie/example.jpg"
        width="780"
        height="470"
        controls preload>
      &lt;source
        src="https://wnas.nl/files/movie/example.mp4"
        type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'&gt;
      &lt;/source&gt;

	&lt;source
       src="https://wnas.nl/files/movie/example.ogv"
       type='video/ogg; codecs="theora, vorbis"'&gt;
      &lt;/source&gt;
&lt;/video&gt;