Open
Bug 1434555
Opened 8 years ago
Updated 1 year ago
Don't play media triggered before page is fully loaded.
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: combettaworld, Unassigned)
Details
STR
1.Open a video in a tab
2.click on tab and switch to some other before it loads
What Happened:
Video automatically played in the background after the page may have loaded.
Expected results:
Play media when clicked should be triggered when page is fully loaded.
Updated•8 years ago
|
Component: Tabbed Browser → Audio/Video: Playback
Product: Firefox → Core
Comment 1•8 years ago
|
||
I'm sorry, I'm not sure I understand what problem you are seeing. When a video starts playing is up to the the website author. We do sometimes disable playback in hidden tabs, and there's a preference to block automatically starting video playback on launch.
Is that was you are referring to? Otherwise, there's not much we can do differently.
Flags: needinfo?(combettaworld)
There is a feature that pauses a video if the tab is open in background.
Situation 1: User opens a page with video in it in current tab and switch tab before tab loads, video plays when the website have loaded in background.
Situation 2: User opens a page with video in it in new background tab and switch to that and switch again to the previous tab before tab loads, video plays when the website have loaded in background.
Flags: needinfo?(combettaworld)
Comment 3•8 years ago
|
||
Dan, does this make sense in the context of your decoder shutdown work?
Flags: needinfo?(dglastonbury)
Priority: -- → P2
This might be handled by decoder shutdown but it sounds like an edge case in the rules for blocking auto play of videos. As I read the request, the reporter is asking for a blessing of play video to not occur is the tab moved to background before page load finishes.
:cpearce can you comment if this fits with the video auto play blocking plan? Is it planned behaviour or an extension?
Flags: needinfo?(dglastonbury) → needinfo?(cpearce)
Comment 5•8 years ago
|
||
We will delay playback start of videos in new tabs until the tab is first focused.
@In: If you open a new tab which has video on it, we should not start playing the video until the tab is focused. If you don't focus new tabs, they won't play video.
The upcoming block autoplay feature will also likely make Firefox behave in a desirable fashion here.
Flags: needinfo?(cpearce)
Updated•3 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Priority: P2 → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•