MOBILE-4566 media: Use VideoJS for some formats in Android too
parent
bfd37520bf
commit
aae5002b2c
|
@ -54,7 +54,7 @@ export class CoreMedia {
|
|||
* @returns Whether needs conversion.
|
||||
*/
|
||||
static sourceNeedsConversion(source: CoreMediaSource): boolean {
|
||||
if (!CorePlatform.isIOS()) {
|
||||
if (!CorePlatform.isMobile()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@ export class CoreMedia {
|
|||
* @returns Whether JS player should be used.
|
||||
*/
|
||||
static mediaUsesJavascriptPlayer(mediaElement: HTMLVideoElement | HTMLAudioElement): boolean {
|
||||
if (!CorePlatform.isIOS()) {
|
||||
if (!CorePlatform.isMobile()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue