HTML Video autoplay not working in Firefox

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

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

6条回答
  •  既然无缘
    2020-12-17 01:27

    The problem has an easy solution: changing the order of the videos, listing first the .mp4 source and next the .webm source made the auto-play videos run on Firefox, Explorer and Chrome, this of course is valid if you have multiple video sources.

    A side note: Firefox supports H.264 on Windows 7 and later since version 21. Firefox supports H.264 on Linux since version 26 if the appropriate gstreamer plug-ins are installed. Partial support for Firefox refers to the lack of support in OSX & some Linux platforms, for Android Firefox it refers to the inability of hardware acceleration.

提交回复
热议问题