Html Video player plays sound but not video

后端 未结 1 1224
傲寒
傲寒 2020-11-28 12:45

Im in the process of making a webpage, and im trying to insert a video. The video player loads fine, and you can press play, but only the audio plays, not the video. (When p

相关标签:
1条回答
  • 2020-11-28 13:34

    Your problem is with the file encoding. HTML5 supports very few types and, sadly, every browser can play only part of this narrow list.

    If you convert your mp4 file to H.264 encoding it will work on chrome and IE9 and above, but apparently due to patent issues, firefox does not support it but will play it if the OS can play it. This is really annoying and still require the use of players in order to play files in not-supported browsers.

    0 讨论(0)
提交回复
热议问题