Firefox won't play .webm and .ogv videos with HTML5

前端 未结 3 1671
失恋的感觉
失恋的感觉 2021-01-21 18:12

I prepared 3 video formats for my site:

/assets/video/background-purple.ogg
/assets/video/background-purple.webm
/assets/video/background-purple.mp4
3条回答
  •  清酒与你
    2021-01-21 18:39

    Chrome is a bit buggy with HTML5 video. Do as Fez suggested, or simply just use .mp4 and .webm. WEBM is more stable in Chrome and you only need these two formats for browser compatibility. This also saves you time rendering your videos!

提交回复
热议问题