Closed Bug 1106825 Opened 10 years ago Closed 7 years ago

Faulty ooyala video play detection - MP4 video shows error of "video is not encoded for this device"


(Web Compatibility :: Site Reports, defect)

Not set


(Not tracked)



(Reporter: donrhummy, Unassigned)


(Whiteboard: [contactready] [m3u8] [lib-ooyala] [android-enable-hls])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0
Build ID: 2014012800

Steps to reproduce:

Went to this link to watch video:

Using: nexus 9, Android 5.0

Actual results:

In Chrome for Android, it plays, but Firefox displays an error stating it's not encoded for this device (obviously incorrect).

Expected results:

It should have played using the decoders on the device.
This is a player issue. I see the same thing in desktop loading the player with a mobile user-agent.

Perhaps their attempting to load HLS which Gecko doesn't support and their do a platform detection on UA.
Component: General → Mobile
Product: Firefox for Android → Tech Evangelism
Version: Firefox 34 → Trunk
Ever confirmed: true
OS: Linux → Android
Hardware: x86_64 → ARM
Summary: MP4 video shows error of "video is not encoded for this device" but it plays in Chrome → Faulty ooyala video play detection - MP4 video shows error of "video is not encoded for this device"
There's an inline script that sets the following option:

window.ooyala_options = {"tweaks":"android-enable-hls"};

So in the ooyala player itself, in the supportedVideoTypes function:

return e.tweaks["android-enable-hls"] && e.isAndroid4Plus ? {
  m3u8: !0,
  mp4: !0

(We count as Android4Plus because we match on /Android [23]/).

Unfortunately they only do canPlayType feature detection for non-Android devices--so the only way to get HLS (which presumably Chrome supports) is to set this option. We could reach out to mmafighting and ask that they disable this option--but we probably want to contact Ooyala as well. I don't see why they don't detect HLS with canPlayType for Android browsers as well.
Whiteboard: [contactready][m3u8]
(In reply to Mike Taylor [:miketaylr] from comment #2)
> (We count as Android4Plus because we match on /Android [23]/).

*because we don't match.
I have the same problem ,especially when trying to view videos on ( sorry best example I had at hand ). Have this problem on my lg g3 device , tried on a friends Samsung and works just fine.

Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Whiteboard: [contactready][m3u8] → [contactready] [m3u8] [lib-ooyala] [android-enable-hls]
This is working for me now, as well as the (NSFW) video in Comment #4. Let's close as FIXED.
Closed: 7 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.