Closed
Bug 896952
Opened 11 years ago
Closed 7 years ago
[Youtube] Video is still played when ear jack is removed.
Categories
(Firefox OS Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: leo.bugzilla.gaia, Unassigned)
References
Details
1. Title : Video is still played when ear jack is removed.
2. Precondition : Phone should have access to Youtube.
3. Tester's Action : Youtube -> play video -> insert ear jack -> remove ear jack
4. Detailed Symptom (ENG.) : During play video, insert and then remove ear jack. Video is still playing.
5. Expected : Expected it should pause while removing ear jack.
6.Reproducibility: Y
7.Frequency Rate : 100%
Comment 1•11 years ago
|
||
I'm not sure if that is the expected behavior.
Product - Can you go find out what's the correct behavior here? If I remove the headphones from the phone, should a YouTube video continue playing?
Comment 2•11 years ago
|
||
Actually, disregard. I see bug 832903 that describes this as expected behavior.
Flags: needinfo?(ffos-product)
Comment 3•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #2)
> Actually, disregard. I see bug 832903 that describes this as expected
> behavior.
However - bug 832903 is also a non-blocker, which by caveat, does not make this a blocker either.
Comment 4•11 years ago
|
||
For future reference, I think that porting this patch to the Browser app would be how to fix this if it gets marked a blocker:
https://github.com/mozilla-b2g/gaia/commit/8388d04f1e21be0d61476814f42873d584f11004
I'm not certain how the call to "setVideoPlaying(false)" would be expressed though. The browser app would have to keep track of which <video> or <audio> tags are playing at the moment and stop them in the "headphoneschange" callback.
Comment 5•11 years ago
|
||
Note - in order to fix this, we would actually probably need this fixed in the system app, not the browser app. Otherwise, the solution wouldn't work in a web app, which is what is needed here to solve the YouTube use case.
Comment 6•11 years ago
|
||
Hmm, you're right. Thanks.
Comment 7•11 years ago
|
||
It seems that the stop needs to be controlled via AudioChannelService.
Comment 8•7 years ago
|
||
Firefox OS is not being worked on
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.
Description
•