Firefox/Block Playback: Difference between revisions
Joshwalker (talk | contribs) |
Joshwalker (talk | contribs) |
||
| Line 23: | Line 23: | ||
</bugzilla> | </bugzilla> | ||
= | = Schedule = | ||
'''TBD''' | |||
=Team= | =Team= | ||
Revision as of 08:33, 3 October 2016
Overview
Block Playback Videos which autoplay in the background will now have their load deferred until the tab is visible for the first time -- this avoids autoplay during session restore and premature playback. This means no more "Where's that sound coming from?" moments when an ad for instance decides to autoplay in a tab you've specifically opened in the background. Resources will still be preloaded if indicated but Firefox will delay the start of playback until you actually visit the tab. Once a tab / RenderFrame has ever played media before, it's allowed to continue to autoplay/autoload indefinitely; this is to support playlist type applications. This feature prevents obviously user annoyance but also conserves power as Firefox will only consume power once the tab is foregrounded.
Issue
This mechanism will also block notification sounds from websites such as Facebook or Gmail if a user open the tab but haven’t visited it yet. There are also users who want to open new tab for music without needing to visit the tab. The mechanism will force users to visit the tab for the music to start playing.
Meta Bug
Other Resources
MVP Scope
| ID | Summary | Status | Target milestone | Resolution | Assigned to | Depends on | Blocks | Whiteboard |
|---|---|---|---|---|---|---|---|---|
| 1235612 | Audio indicator/mute button shown for page with no audible sound | VERIFIED | Firefox 49 | FIXED | Alastor Wu [:alwu] | 1344509, 1238906, 1240429, 1242874, 1284830, 1307428 | 486262, 1240423, 1262053, 1266681, 1268368 | [parity-chrome][parity-safari] |
| 1242874 | Enable pause/play control ability for the AudioChannel API | RESOLVED | mozilla49 | FIXED | Alastor Wu [:alwu] | 1271697, 1276119, 1316271, 1471013 | 1235612, 1240423, 1257738, 1262053, 1265981, 1268367 | |
| 1262358 | Simplify logic in HTMLMediaElement::CanActivateAutoplay() | RESOLVED | mozilla48 | FIXED | u480271 | 1262053 | ||
| 1300459 | [CID 1372416] Inefficient pass-by-value: HTMLMediaElement::SetMediaInfo(mozilla::MediaInfo) | RESOLVED | mozilla51 | FIXED | Gerald Squelart (he/him) (not at Mozilla since 2022-09-15) | 1262053 | ||
| 1322505 | Don't resume the video after calling video.pause() | VERIFIED | mozilla53 | FIXED | Alastor Wu [:alwu] | 1328058, 1341062 | 1262053, 1308154 | |
| 1330963 | Amazon videos can't be played if opened in background tab | RESOLVED | --- | WORKSFORME | 1331317 | 1262053 | ||
| 1331317 | Only enable pref "media.block-autoplay-until-in-foreground" on Nightly | VERIFIED | mozilla53 | FIXED | Alastor Wu [:alwu] | 1262053, 1308154, 1330929, 1330963 |
7 Total; 0 Open (0%); 4 Resolved (57.14%); 3 Verified (42.86%);
Schedule
TBD
Team
Eng: Alastor, JW, Kaku
Program Management: Blake, Josh
UX: Mark, Morpheus
QA: SoftVision