3 ms·
I don't know if it's still the case, but a while back Firefox would allow muted looping videos to auto play, basically like an animated gif. However, if the vid
by nfriedly 3y ago
I don't know if it's still the case, but a while back Firefox would allow muted looping videos to auto play, basically like an animated gif. However, if the video had an audio track (even muted) it would keep the computer from sleeping.
Some of adafruits documentation pages had exactly this combination, so leaving a single page of documentation open would keep my computer from automatically sleeping.
- foxhop 3y agoyeah I just tested this, autoplay only works on the video tag if muted which seems like it defeats the point.
- afavour 3y agoIt’s specifically to replace GIFs. If you don’t allow autoplay of muted videos people will just use GIFs which are way, way more bandwidth intensive. It keeping your computer awake sounds like a bug though, it’s not intended behavior.
- padenot 3y agoPlease open a bug at https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=Audio%2FVideo%3A%20playback https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&comp... if that's the case, and CC padenot@mozilla.com, I'll have a look next week.
- nfriedly 3y agoHere's the bug I filed several years ago: https://bugzilla.mozilla.org/show_bug.cgi?id=1684718 https://bugzilla.mozilla.org/show_bug.cgi?id=1684718 - I just cc'd you
- afavour 3y agoI interpreted the comments on that bug to mean that the Adafruit site has an unmuted video that happens to have a silent audio track, which isn’t strictly a muted autoplay issue. But maybe I’m wrong.
- nfriedly 3y agoYeah, I think there was some confusion about which video on the page was causing the issue, but the test cases I created are much simpler - just one video per page.