Youtube mobile site stops playing audio when switching tab or when tapping play from lock screen

RESOLVED WONTFIX

Status

()

P3
normal
RESOLVED WONTFIX
2 years ago
2 years ago

People

(Reporter: SimonB, Assigned: farhan)

Tracking

unspecified
All
iOS

Firefox Tracking Flags

(fxios-v7.4 affected, fxios+, fxios-v8.0 affected)

Details

(Whiteboard: [MobileCore])

(Reporter)

Description

2 years ago
Build: 9b55d0fd 
Device: iPad Air 2
iOS: 10.3.1

Steps to reproduce:
1. Go to youtube.com mobile site
2. Play a video 
3. Open a new tab

or

1. Go to youtube.com mobile site
2. Play a video 
3. Lock the screen 
4. Wake screen 
5. Tap play button from lock screen

Actual results:
- In both cases the video does not play. 

Expected results: 
- The video should play in both cases.

Note:
- The video will continue playing when switching tabs only on the Desktop Site version.
(Reporter)

Updated

2 years ago
Summary: Youtube video stops playing when switching tab or when tapping play from lock screen → Youtube mobile site stops playing audio when switching tab or when tapping play from lock screen
Assignee: nobody → fpatel
tracking-fxios: ? → +
Priority: -- → P3
Whiteboard: [MobileCore]
Firefox for Android has the same issue when using Youtube's mobile site. See bug 1355407.
(Assignee)

Comment 2

2 years ago
This is a change made by youtube themselves. Once the pageVisibility of a webpage changes it pauses the video. 
The pageVisibility is set to "hidden" when the tab is minimized or when the app is closed. This stops the vieo.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.