File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,8 @@ shaka.util.Platform = class {
237237 ! shaka . util . Platform . isVirginMedia ( ) &&
238238 ! shaka . util . Platform . isOrange ( ) &&
239239 ! shaka . util . Platform . isPS4 ( ) &&
240- ! shaka . util . Platform . isAmazonFireTV ( ) ;
240+ ! shaka . util . Platform . isAmazonFireTV ( ) &&
241+ ! shaka . util . Platform . isWPE ( ) ;
241242 }
242243
243244 /**
@@ -292,6 +293,14 @@ shaka.util.Platform = class {
292293 return shaka . util . Platform . userAgentContains_ ( 'AFT' ) ;
293294 }
294295
296+ /**
297+ * Check if the current platform is Comcast X1.
298+ * @return {boolean }
299+ */
300+ static isWPE ( ) {
301+ return shaka . util . Platform . userAgentContains_ ( 'WPE' ) ;
302+ }
303+
295304 /**
296305 * Returns a major version number for Safari, or Safari-based iOS browsers.
297306 *
You can’t perform that action at this time.
0 commit comments