奇怪的是,一些MP4文件將播放HTML5,但其他人不會。這裏是一個測試頁面http://psdtucss.com/test/test2.html,在Chrome 19.0.1084.46米中打開它。第一個MP4播放,但另一個不會。什麼原因。代碼非常簡單:爲什麼一些MP4文件不能通過HTML5播放?
<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>
我該如何解決這個問題?
我試過videojs,但還是有些MP4文件不能播放。測試頁面位於: http://psdtucss.com/test/test.html
有沒有辦法轉換編解碼器? – 2012-07-21 01:21:35
當然,有幾個工具可以讓你重新編碼視頻 – 2012-07-21 05:06:57