Youtube video is not played in-browser on particular device on Firefox 41 and 42




Firefox for Android
2 years ago
2 years ago


(Reporter: u421692, Unassigned)


42 Branch

Firefox Tracking Flags

(Not tracked)



(1 attachment)



2 years ago
Created attachment 8694777 [details]

ZTE Grand X In (Android 4.0.4)(x86 device)
Firefox 42.0.2
1. Open
2. Play a video

Actual result:
Video is not played
When "stagefright.force-enabled" is set to "true", issue does not reproduce
This issue is reproducing on Firefox 41 and Firefox 42; on Firefox 40 youtube app is opened
Was able to reproduce this issue only on this particular device.

This issue is NOT reproducing on Firefox 43 Beta 8

Related to latest UA changes?


2 years ago
Flags: needinfo?(snorp)
Flags: needinfo?(snorp) → needinfo?(miket)
Hm. Is there something special about how we handle h264 on this device?

> When "stagefright.force-enabled" is set to "true", issue does not reproduce

Snorp, can you shed some light on why/when stagefright isn't used? It's possible Google is trying to feature detect something that is failing here.
Flags: needinfo?(miket) → needinfo?(snorp)
Mihai, do you have any errors in the devtools console (or ADB) when you try to play the video?

> This issue is NOT reproducing on Firefox 43 Beta 8

The patch from 1217055 was just uplifted to Beta 43 (yesterday). That actually removes the UA workarounds we had in place...
Flags: needinfo?(mihai.g.pop)
On a pre-4.1 device (such as this), we use a very error-prone video decoding backend that uses private libraries. If stagefright.force-enabled changes things, it means this device was blacklisted or something, and we wouldn't be able to decode H264 otherwise.
Flags: needinfo?(snorp)

Comment 4

2 years ago
Nothing on android logs or web console logs
android logs:
console logs:
Flags: needinfo?(mihai.g.pop)
Thanks Mihai... sorry for letting this slip (blame Mozlando (or actually just blame me)). If this indeed works in 43 (which ships tomorrow?), I suggest we close this as WONTFIX.

Comment 6

2 years ago
This is now reproducing on Firefox 43 RC, works fine on Aurora. That's strange.
Flags: needinfo?(miket)
Hm, not sure what to do here without a device I can repro on. :/
Flags: needinfo?(miket)
You need to log in before you can comment on or make changes to this bug.