Commit f4835ea1 authored by Raine Makelainen's avatar Raine Makelainen

[embedlite-components] More UA override tweaking for Fixes JB#31842

Restore back "Mobile" removal from the user agent. "Maemo" is kept
in the user agent string so that youtube server serves HTML5 videos.
parent 388a05d0
......@@ -98,7 +98,7 @@ var UserAgent = {
if (!ua.contains("Android")) {
// Nexus 7 Android chrome has best capabilities
return ua.replace("Linux", "Android 4.4.2").replace("Unix", "Android 4.4.2");
return ua.replace("Linux", "Android 4.4.2").replace("Unix", "Android 4.4.2").replace("Mobile", "");
} else if (this.NOKIA_HERE_DOMAIN.test( {
// Send the phone UA to here
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment