為何有的MP4不能用HTML5語法播放(Why won’t some MP4 files play via HTML5?)

為何有的MP4不能用HTML5語法播放(Why won’t some MP4 files play via HTML5?)

為何有的MP4不能用HTML5語法播放(Why won’t some MP4 files play via HTML5?)

 

資料來源:https://stackoverflow.com/questions/11588654/why-wont-some-mp4-files-play-via-html5

mp4 is only the container format. It may contain video and audio in a number of different codecs. Players (including those in a browser) need to support the container format and all of the used codecs in order to play a video properly.

Using VideoJS is definitely a good idea, it handles a lot of browser-specific workarounds for you.

Wikipedia: HTML5 video: Browser_support:https://en.wikipedia.org/wiki/HTML5_video#Browser_support

—————————–

高手建議的VideoJS: http://videojs.com  / https://github.com/videojs

 

個人解法:使用ffmpeg重轉一次即可,我的TOOL放在: https://github.com/jash-git/Movie_Tool-ffmpeg-

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *