Firefox/Block autoplay in background
Contents
Overview
Background
The Block Playback feature is designed to block media with enabled autoplay if the tabs are opened in the background. 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.Resources will still be preloaded but Firefox will delay the start of playback until the tab that contain a video with an enabled autoplay is visited. 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.The main advantages of the Block Playback feature is that it prevents obviously user annoyance but also conserves power as Firefox will only consume power once the tab is foregrounded
Overall Project Health
[GREEN, ON TRACK]
- QA has checked 100% of all bugs, bringing 5 more bugs for further clarification and follow-up.
- In total, we have 17 bugs for tracking, 17 out of these 17 bugs are resolved, representing a 100% completion rate.
Target Milestone
Firefox54 Firefox 56
The Team
- Engineering Project Manager: Bobby Chien
- Engineer Owner:
- UX designers: Mark Liang
- QA Contacts:
- Emil Ghitta (irc: emilghitta) - QA Lead
- Bogdan Maris (irc: bogdan_maris) - QA peer
- Simona Badau (irc: simonab) - QA
MVP Scope-Bug Tracking
- bug 1308154 -[meta] Block autoplay media until the tab is visible at first time
46 Total; 0 Open (0%); 30 Resolved (65.22%); 16 Verified (34.78%);
- bug 1350869 -Bug 1350869 -[QA] Block Playback feature tracking bug
7 Total; 0 Open (0%); 7 Resolved (100%); 0 Verified (0%);
UX Spec
- UX Spec: UX Spec
- UX Bug reference:Bug 1308399
Signoff-Report
Signoff-Report Summary
- Mid- Auroa Signoff- RED *
- Recommendation : DON'T SHIP IT.( Targeted GA: Firefox 54 - June 13, 2017)
- Testing status: COMPLETED (100%).
- 4 passed (9%), 0 blocked (0%), 0 failed with known bugs (0%), 40 failed with new bugs (91%)
Signoff-Report Details
- Proposed course of action: fix 1347758, 1349201 and 1349202 in order to make this feature eligible for shipping with Fx54.
- New bugs uncovered during sign off: https://mzl.la/2nwWIIh.
- Reason: 91% of our tests failed with a total of 7 bugs - https://mzl.la/2nwWIIh.
- Bug 1347758 - HTML5 video/audio doesn't play if node was removed in background tab –> RESOLVED FIXED, 03/24 landed on Firefox55.
- Bug 1349201 - Mute button is not working on several websites–> –> RESOLVED WORKSFORME, 03/21
- Bug 1349202 - Block Playback feature is not working as intended on several websites–: Duplicate of Bug 1347758
- Bug 1350869 - [QA] Block Playback feature tracking bug
Test Case and Test plan
- Softvision Test Plan : TestPlan