Dlaczego niektóre pliki MP4 nie grają przez HTML5?
To dziwne, niektóre pliki MP4 będą odtwarzane w HTML5, ale inne nie. Oto strona testowahttp://psdtucss.com/test/test2.html, otwórz go w Chrome 19.0.1084,46 m. Pierwszy MP4 gra, ale drugi nie. Jaki jest powód. Kod jest bardzo prosty:
<h3>the first mp4 file can play</h3>
<p><video width="640" height="264" controls="controls"><source src="1.mp4" type="video/mp4" />Your browser does not support the video tag.</video></p>
<h3>but the other can't play</h3>
<p><video width="640" height="264" controls="controls"><source src="2.mp4" type="video/mp4" />Your browser does not support the video tag.</video></p>
Jak mogę to naprawić?
Próbowałem filmów wideo, ale nadal niektóre pliki MP4 nie będą odtwarzane. Strona testowa jest tutaj:http://psdtucss.com/test/test.html