Closed
Bug 1021432
Opened 10 years ago
Closed 10 years ago
[flatfish][TCP] YouTube not recognizing Flatfish as tablet
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1053712
People
(Reporter: feer56, Assigned: yifan)
References
Details
(Whiteboard: [Flatfish][TCP])
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.
Comment 1•10 years ago
|
||
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.
Reporter | ||
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → yliao
Assignee | ||
Comment 2•10 years ago
|
||
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.
Flags: needinfo?(jeliu)
Assignee | ||
Updated•10 years ago
|
Reporter | ||
Comment 3•10 years ago
|
||
We should resolve this via bug 1018821.
Assignee | ||
Comment 4•10 years ago
|
||
Yes, that seems the proper way to resolve it. Issued a bug following the instructions.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jeliu)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•