If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Youtube redirect and layout issue

RESOLVED FIXED

Status

Tech Evangelism Graveyard
English US
P1
major
RESOLVED FIXED
7 years ago
3 years ago

People

(Reporter: tarend, Assigned: tarend)

Tracking

({mobile})

Details

(Assignee)

Description

7 years ago
Related to Bug 638910

Youtube now recognizes our User Agent and sends us to their mobile page instead of the desktop page, which is great.

(1) With Phony disabled (or set to "default") Go to youtube.com
(2) click on any video
(3) then click on the thumbnail to play the video

Result: 
Page redirects to same page "Redirecting to page. Please wait...", video does not play

Expected: 
Video plays in native YouTube app

Note: Setting Phony to "Android (Nexus One)" shows the *correct* behavior. Setting Phony to "Android (Galaxy Tab)" shows broken layout (video preview is wider than the screen, clicking on it shows a loading animation but never plays the video and doesn't show the native Youtube app either).
(Assignee)

Updated

7 years ago
Summary: Youtube → Youtube redirect and layout issue
I can't trace the exact bug without access to the unminified JavaScript and server-side source code, but this is clearly an evangelism bug, since YouTube serves a "vnd.youtube" URI to open the native app to Android WebKit but not to Fennec, based on the user-agent.

For example, this URI returns completely different content depending on whether it is sent with a Fennec or Android WebKit user-agent header:

http://m.youtube.com/watch?desktop_uri=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dyqc9zX04DXs&v=yqc9zX04DXs&gl=US
Assignee: nobody → english-us
Component: General → English US
Keywords: mobile
Product: Fennec → Tech Evangelism
QA Contact: general → english-us
Version: Trunk → unspecified
Issue also occurs on:

Mozilla/5.0 (Android; Linux armv71; rv2.2a1pre) Gecko/20110412 Firefox/4.2a1pre Fennec/4.1a1pre
Device: Thunderbolt
OS: Android 2.2

Mozilla/5.0 (Android; Linux armv71; rv2.2a1pre) Gecko/20110412 Firefox/4.2a1pre Fennec/4.1a1pre
Device: Droid 2 
OS: Android 2.2

(Phony not installed on either 2 devices)
We're working with Google on this issue, and they report that a fix is ready to deploy soon.
Assignee: english-us → tarend
Status: NEW → ASSIGNED
(In reply to comment #3)
> We're working with Google on this issue, and they report that a fix is ready
> to deploy soon.

Any update on this?
tracking-fennec: ? → -
YouTube now works on Firefox for Android. Resolving.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.