What happens when opening a youtube video from google search results is the following:
GET /url?q=http://m.youtube.com/watch%3Fv%3D-tJYN-eG1zk&… HTTP/1.1 Host: www.google.fr
HTTP/1.1 302 Found Location: http://m.youtube.com/watch?v=-tJYN-eG1zk
GET /watch?v=-tJYN-eG1zk HTTP/1.1 Host: m.youtube.com User-Agent: Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4) AppleWebKit/537.36 Chromium/35.0.1870.2 Mobile Safari/537.36 Referer: http://www.google.fr/search?q=we+will+rock+you&…
As can be seen from the second GET request, the UA override for youtube (http://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/Ubuntu/Web/ua-overrides-mobile.js#L23) hasn’t been applied.
What happens when opening a youtube video from google search results is the following:
GET /url?q=http:// m.youtube. com/watch% 3Fv%3D- tJYN-eG1zk&… HTTP/1.1
Host: www.google.fr
HTTP/1.1 302 Found m.youtube. com/watch? v=-tJYN- eG1zk
Location: http://
GET /watch? v=-tJYN- eG1zk HTTP/1.1 35.0.1870. 2 Mobile Safari/537.36 www.google. fr/search? q=we+will+ rock+you&…
Host: m.youtube.com
User-Agent: Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4) AppleWebKit/537.36 Chromium/
Referer: http://
As can be seen from the second GET request, the UA override for youtube (http:// bazaar. launchpad. net/~phablet- team/webbrowser -app/trunk/ view/head: /src/Ubuntu/ Web/ua- overrides- mobile. js#L23) hasn’t been applied.