HTML5 video problem

前端 未结 3 874
难免孤独
难免孤独 2020-12-16 23:29

i wonder what i\'m doing wrong?

相关标签:
3条回答
  • 2020-12-17 00:16

    Firefox 3.6 doesn't support WebM video format. To view HTML5 WebM videos you need to download a nightly build of Firefox 4

    For Ogv take care of frame rates and don't expect to show HD video. With a higher rate Firefox couldn't show my video, but when I reduce the frame rate and the quality, it works fine.

    0 讨论(0)
  • 2020-12-17 00:18

    On which browser? IE for example doesn't support the video element at all. Also, the course element is a void element and as such shouldn't have an end tag. I've also noticed a bug in Firefox where the Ogg file has to be the first resource otherwise it doesn't work. This may have been fixed in 3.6.3 though.

    0 讨论(0)
  • 2020-12-17 00:22

    My guess is that this is a duplicate of an earlier question. If so, the answer is: Make sure your server config has the following associations:

    • .ogv: video/ogg
    • .oga: audio/ogg
    • .ogg: application/ogg
    • .webm: video/webm
    • .mp4: video/mp4
    0 讨论(0)
提交回复
热议问题