HTML Video autoplay not working in Firefox

后端 未结 6 1583
旧巷少年郎
旧巷少年郎 2020-12-17 00:57

I have a website built with bootstrap and loading video in a dialog:

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-17 01:40

    Firefox Video Issue: Troubleshooting

    1. Make sure that the server sends the video files with a correct and supported MIME type to make it work in Firefox.

      link

    2. Use source URL relative to ROOT, not Web page

      Eg: src="/complete/folder/path/video.ogv"

    3. Version of mozilla.

      • Mozilla Firefox (3.5 and later) supports Theora video and Vorbis audio in an Ogg container.
      • Firefox 4 supports WebM.

      link

提交回复
热议问题