MOBILE-4566 media: Use VideoJS for some formats in Android too

main
Dani Palou 2024-04-24 12:26:25 +02:00
parent bfd37520bf
commit aae5002b2c
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}