File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,7 @@ shaka.util.Platform = class {
234234 return ! ! navigator . vendor && navigator . vendor . includes ( 'Apple' ) &&
235235 ! shaka . util . Platform . isTizen ( ) &&
236236 ! shaka . util . Platform . isEOS ( ) &&
237+ ! shaka . util . Platform . isAPL ( ) &&
237238 ! shaka . util . Platform . isVirginMedia ( ) &&
238239 ! shaka . util . Platform . isOrange ( ) &&
239240 ! shaka . util . Platform . isPS4 ( ) &&
@@ -357,6 +358,15 @@ shaka.util.Platform = class {
357358 return shaka . util . Platform . userAgentContains_ ( 'PC=EOS' ) ;
358359 }
359360
361+ /**
362+ * Check if the current platform is an APL set-top box.
363+ *
364+ * @return {boolean }
365+ */
366+ static isAPL ( ) {
367+ return shaka . util . Platform . userAgentContains_ ( 'PC=APL' ) ;
368+ }
369+
360370 /**
361371 * Guesses if the platform is a mobile one (iOS or Android).
362372 *
You can’t perform that action at this time.
0 commit comments