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)

ARM
Gonk (Firefox OS)

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%
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?
Blocks: 877024
Component: Gaia::Browser → General
Flags: needinfo?(ffos-product)
Actually, disregard. I see bug 832903 that describes this as expected behavior.
Flags: needinfo?(ffos-product)
(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.
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.
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.
Hmm, you're right. Thanks.
It seems that the stop needs to be controlled via AudioChannelService.
No longer blocks: 877024
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.