Closed Bug 1360209 Opened 7 years ago Closed 7 years ago

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

Categories

(Firefox for iOS :: General, defect, P3)

All
iOS
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
fxios-v7.4 --- affected
fxios + ---
fxios-v8.0 --- affected

People

(Reporter: SimonB, Assigned: farhan)

Details

(Whiteboard: [MobileCore])

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.
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
Priority: -- → P3
Whiteboard: [MobileCore]
Firefox for Android has the same issue when using Youtube's mobile site. See bug 1355407.
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
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.