Merge lp:~osomon/webbrowser-app/fix-mobile-youtube-playback into lp:webbrowser-app

Proposed by Olivier Tilloy on 2015-02-03
Status: Merged
Approved by: Olivier Tilloy on 2015-02-03
Approved revision: 880
Merged at revision: 891
Proposed branch: lp:~osomon/webbrowser-app/fix-mobile-youtube-playback
Merge into: lp:webbrowser-app
Diff against target: 12 lines (+1/-1)
1 file modified
src/Ubuntu/Web/ua-overrides-mobile.js (+1/-1)
To merge this branch: bzr merge lp:~osomon/webbrowser-app/fix-mobile-youtube-playback
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team 2015-02-03 Pending
Review via email: mp+248417@code.launchpad.net

Commit message

Revert the UA override for m.youtube.com as it was causing a lot of stuttering (due to very high CPU usage) on krillin.
In the meantime, the issue with videos not playing that this update was meant to address (bug #1415107) was resolved on youtube’s side.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Ubuntu/Web/ua-overrides-mobile.js'
2--- src/Ubuntu/Web/ua-overrides-mobile.js 2015-01-27 17:08:14 +0000
3+++ src/Ubuntu/Web/ua-overrides-mobile.js 2015-02-03 17:09:03 +0000
4@@ -20,7 +20,7 @@
5
6 var overrides = [
7 [/^https?:\/\/mail\.google\.com\//, "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4) AppleWebKit/537.36 Chromium/35.0.1870.2 Mobile Safari"],
8- [/^https?:\/\/m\.youtube\.com\//, "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/35.0.1870.2 Mobile Safari/537.36"], // http://pad.lv/1228415, http://pad.lv/1415107
9+ [/^https?:\/\/m\.youtube\.com\//, "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chromium/35.0.1870.2 Mobile Safari/537.36"], // http://pad.lv/1228415, http://pad.lv/1415107, http://pad.lv/1417258
10 [/^http:\/\/chrome\.angrybirds\.com\//, "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/35.0.1870.2 Mobile Safari/537.36"], // http://pad.lv/1284158
11 [/^https?:\/\/(\w+\.)*hsbc\.com\.br\//, "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/35.0.1870.2 Mobile Safari/537.36"], // http://pad.lv/1380657
12 [/^http:\/\/(\w+\.)*espn\.(go\.)?com\//, "Mozilla/5.0 (Linux; Ubuntu 14.04 like Android 4.4;) AppleWebKit/537.36 Chrome/35.0.1870.2 Mobile Safari/537.36"], // http://pad.lv/1316259

Subscribers

People subscribed via source and target branches

to status/vote changes: