Firefox/Block autoplay in background: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎Target Milestone: Change landing date)
m (Nohlmeier moved page Firefox/Block autoplay to Firefox/Block autoplay in background: New block autoplay project has name collision with the old project)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
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
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=
==Overall Project Health==
<font color="green">'''[GREEN, ON TRACK]'''</font>  
<font color="green">'''[GREEN, ON TRACK]'''</font>  
*QA has checked 100% of all bugs, bringing 5 more bugs for further clarification and follow-up.
*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.  
*In total, we have 17 bugs for tracking, 17 out of these 17 bugs are resolved, representing a 100% completion rate.  


=Target Milestone=
==Target Milestone==
<s>Firefox54</s> Firefox 56
<s>Firefox54</s> Firefox 56


=Engineering Project Manager =
= The Team =
Rachelle Yang
* [mailto:ryang@mozilla.com Rachelle Yang]


=Engineer Owner=
* Engineering Project Manager: [mailto:bchien@mozilla.com Bobby Chien]
Alastor Wu
* Engineer Owner:
* [mailto:alwu@mozilla.com Alastor Wu]
** [mailto:alwu@mozilla.com Alastor Wu]
 
** [mailto:bwu@mozilla.com Blake Wu]
=UX designers=
* UX designers: [mailto:mliang@mozilla.com Mark Liang]
Mark Liang
* QA Contacts:
* [mailto:mliang@mozilla.com Mark Liang]
** [mailto:emil.ghitta@softvision.ro Emil Ghitta] (irc: emilghitta) - QA Lead
 
** [mailto:bogdan.maris@softvision.ro Bogdan Maris] (irc: bogdan_maris) - QA peer
=QA Contact=
** [mailto:simona.marcu@softvision.ro Simona Badau] (irc: simonab) - QA
* [mailto:emil.ghitta@softvision.ro Emil Ghitta] (irc: emilghitta) - QA Lead
* [mailto:bogdan.maris@softvision.ro Bogdan Maris] (irc: bogdan_maris) - QA peer
* [mailto:simona.marcu@softvision.ro Simona Badau] (irc: simonab) - QA


= MVP Scope-Bug Tracking =
= MVP Scope-Bug Tracking =

Latest revision as of 22:47, 9 August 2018

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

MVP Scope-Bug Tracking

  • bug 1308154 -[meta] Block autoplay media until the tab is visible at first time

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 429 [1] => Unknown Error ) ) 1


  • bug 1350869 -Bug 1350869 -[QA] Block Playback feature tracking bug

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 429 [1] => Unknown Error ) ) 1


UX Spec

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