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

Proposed by Olivier Tilloy
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 786
Merged at revision: 786
Proposed branch: lp:~osomon/webbrowser-app/rtm-14.09-fix-mobile-youtube-playback
Merge into: lp:webbrowser-app/rtm-14.09
Diff against target: 19 lines (+2/-2)
1 file modified
src/Ubuntu/Web/ua-overrides-mobile.js (+2/-2)
To merge this branch: bzr merge lp:~osomon/webbrowser-app/rtm-14.09-fix-mobile-youtube-playback
Reviewer Review Type Date Requested Status
Alexandre Abreu (community) Approve
Review via email: mp+247749@code.launchpad.net

Commit message

Update the m.youtube.com UA override to fix video playback.

To post a comment you must log in.
Revision history for this message
Alexandre Abreu (abreu-alexandre) :
review: Approve

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 2014-10-14 11:12:40 +0000
3+++ src/Ubuntu/Web/ua-overrides-mobile.js 2015-01-27 17:18:05 +0000
4@@ -1,5 +1,5 @@
5 /*
6- * Copyright 2014 Canonical Ltd.
7+ * Copyright 2014-2015 Canonical Ltd.
8 *
9 * This file is part of webbrowser-app.
10 *
11@@ -20,7 +20,7 @@
12
13 var overrides = [
14 [/^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"],
15- [/^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
16+ [/^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
17 [/^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
18 [/^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
19 [/^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