Closed Bug 1021432 Opened 8 years ago Closed 8 years ago
Tube not recognizing Flatfish as tablet
Download YouTube from marketplace on Firefox OS 1.4 flatfish tablet. Open app to discover that YouTube is telling you that adobe flash is required. Expected: Mobile version displayed and videos are to able to be played.
I noticed the same thing. I think this is a user agent issue as reported in bug 1018822 https://bugzilla.mozilla.org/show_bug.cgi?id=1018822 For instance Facebook app provides the WAP interface instead of mobile smartphone/tablet or Full site. The user agent doesn't seem to be properly recognized by sites and apps. I think these two reports should be combined as they seem related.
8 years ago
See Also: → 1018822
The youtube app from marketplace is a hosted app, so the web page content fetched depends on the user agent string check on the youtube server. Why we still see desktop content on flatfish is because the user agent string of it contains 'tablet', not 'mobile', so the site doesn't provide the mobile content. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Gecko_user_agent_string_reference#Firefox_OS . By the way the UA string of iPad 1 with iOS 5 contains 'mobile' so it gets mobile content from the youtube server. This also applies to other websites. Possible solutions are: 1. Ask youtube to update their UA string check 2. Hack the UA string on tablets for youtube (and probably other websites as well) 3. Just let it display desktop content I think we could consult web compatibility team and UX team, see their opinions on this.
We should resolve this via bug 1018821.
Yes, that seems the proper way to resolve it. Issued a bug following the instructions.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1053712
You need to log in before you can comment on or make changes to this bug.