Firefox/Block Playback: Difference between revisions
Joshwalker (talk | contribs) |
Joshwalker (talk | contribs) |
||
| Line 16: | Line 16: | ||
<bugzilla> | <bugzilla> | ||
{ | { | ||
"blocks":" | "blocks":"1293963", | ||
"status":["NEW","REOPENED","UNCONFIRMED","ASSIGNED","RESOLVED","VERIFIED","CLOSED"], | "status":["NEW","REOPENED","UNCONFIRMED","ASSIGNED","RESOLVED","VERIFIED","CLOSED"], | ||
"include_fields": "id, summary, status, target_milestone, resolution, assigned_to, depends_on, blocks, whiteboard" | "include_fields": "id, summary, status, target_milestone, resolution, assigned_to, depends_on, blocks, whiteboard" | ||
Revision as of 08:47, 6 October 2016
Overview
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 |
|---|---|---|---|---|---|---|---|---|
| 1276556 | [META] Tracking enable of background tab video decoder suspend | NEW | --- | 1224973, 1272919, 1274626, 1275481, 1275538, 1276495, 1282710, 1284177, 1285419, 1286875, 1287987, 1289668, 1293145, 1294345, 1294349, 1294352, 1294358, 1295844, 1299065, 1299718, 1301059, 1301061, 1305338, 1306551, 1309492, 1309494, 1310140, 1313955, 1346120 | 1293963, 1293937, 1308184 | |||
| 1294349 | Telemetry to support background video decoder suspend: Recovery time from video-decode-suspended | RESOLVED | mozilla51 | FIXED | Gerald Squelart (he/him) (not at Mozilla since 2022-09-15) | 1294352 | 1276556, 1293963 | |
| 1294656 | Seek to nearest keyframe when resuming videos with no audio - no audio track | RESOLVED | mozilla51 | FIXED | Tzuhao Kuo [:kaku] | 1282012, 1293963 | ||
| 1305338 | [UX] UX Spec for Shutdown Decoder Phase 1 | RESOLVED | --- | FIXED | Mark Liang(:mark_liang) | 1276556, 1293963, 1309492, 1309494, 1346120 | ||
| 1309492 | If a video element's video is suspended, make it draw black frames. | RESOLVED | --- | WONTFIX | Tzuhao Kuo [:kaku] | 1305338, 1345768 | 1276556, 1293963 | |
| 1309494 | Use spinning loading UI if resuming video element's video decoder is longer than 250ms. | RESOLVED | mozilla55 | FIXED | Tzuhao Kuo [:kaku] | 1305338, 1359815 | 1276556, 1293963, 1350852 | |
| 1345403 | Mark a video element as taint and never suspend it again if it is passed into drawImage() | RESOLVED | mozilla55 | FIXED | Tzuhao Kuo [:kaku] | 1347836, 1347860 | 1293963, 1295921, 1346705 | |
| 1346116 | Consider a video element is in tree or not to suspend its video decoder | RESOLVED | mozilla55 | FIXED | Tzuhao Kuo [:kaku] | 1337301, 1346498 | 1293963, 1346705 | |
| 1346120 | If a video element's video is suspended, keep the last decoded video frame on the screen | RESOLVED | mozilla55 | FIXED | Tzuhao Kuo [:kaku] | 1305338, 1345768 | 1276556, 1293963, 1346705 | |
| 1346235 | Fennec has stopped working while playing videos | VERIFIED | Firefox 55 | FIXED | John Lin [:jhlin][:jolin] | 1293963 | ||
| 1348432 | Missing audio in YouTube videos that were requested within the same tab. Refreshing page fixes audio. | VERIFIED | mozilla55 | FIXED | Tzuhao Kuo [:kaku] | 1360123 | 1293963, 1347402 | [webcompat] |
| 1348864 | Black frame displayed on video decoder resume | RESOLVED | --- | DUPLICATE | Tzuhao Kuo [:kaku] | 1349883 | 1293963 | |
| 1349456 | Mark a video element as taint and never suspend it again if it is aptured via mozCaptureStream() | RESOLVED | mozilla55 | FIXED | Tzuhao Kuo [:kaku] | 1293963, 1284389 | ||
| 1349459 | Mark a video element as taint and never suspend it again if it is passed into createImageBitmap() | VERIFIED | mozilla55 | FIXED | Tzuhao Kuo [:kaku] | 1293963, 1349461 | ||
| 1365581 | [Shutdown Decoder] OGV video elements are not suspended. | RESOLVED | --- | INVALID | Tzuhao Kuo [:kaku] | 1293963 | ||
| 1365584 | [Shutdown Decoder] On WEBM video element resume the player returns a error | RESOLVED | --- | DUPLICATE | Tzuhao Kuo [:kaku] | 1293963 | ||
| 1369970 | [Shutdown Decoder] enable the preference. | RESOLVED | mozilla55 | FIXED | Tzuhao Kuo [:kaku] | 1293963 |
17 Total; 1 Open (5.88%); 13 Resolved (76.47%); 3 Verified (17.65%);
Schedule
TBD
Team
Eng: Alastor, JW, Kaku
Program Management: Blake, Josh
UX: Mark, Morpheus
QA: SoftVision