diff --git a/lib/util/platform.js b/lib/util/platform.js index 1866cb951f..1a4734e867 100644 --- a/lib/util/platform.js +++ b/lib/util/platform.js @@ -214,6 +214,7 @@ shaka.util.Platform = class { !shaka.util.Platform.isTizen() && !shaka.util.Platform.isEOS() && !shaka.util.Platform.isVirginMedia() && + !shaka.util.Platform.isOrange() && !shaka.util.Platform.isPS4() && !shaka.util.Platform.isAmazonFireTV(); } @@ -253,6 +254,13 @@ shaka.util.Platform = class { return shaka.util.Platform.userAgentContains_('VirginMedia'); } + /** + * Check if the current platform is Orange. + */ + static isOrange() { + return shaka.util.Platform.userAgentContains_('SOPOpenBrowser'); + } + /** * Check if the current platform is Amazon Fire TV. * https://developer.amazon.com/docs/fire-tv/identify-amazon-fire-tv-devices.html