From da78c9e7be5d5823d76aae5e3e27aa2d4b55e29b Mon Sep 17 00:00:00 2001 From: vpPavithra Date: Wed, 26 Jun 2024 14:56:31 +0530 Subject: [PATCH] Issue #ED-0000 fix: ecml download and play for qrscan content playOnline --- src/app/qrcoderesult/qrcoderesult.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/qrcoderesult/qrcoderesult.page.ts b/src/app/qrcoderesult/qrcoderesult.page.ts index b571f4e76d..cf45c3b97d 100644 --- a/src/app/qrcoderesult/qrcoderesult.page.ts +++ b/src/app/qrcoderesult/qrcoderesult.page.ts @@ -511,7 +511,7 @@ export class QrcoderesultPage implements OnDestroy { !this.appGlobalService.isOnBoardingCompleted ? Environment.ONBOARDING : Environment.HOME, PageId.DIAL_CODE_SCAN_RESULT, telemetryObject); - if (content.contentData.streamingUrl && !content.isAvailableLocally) { + if (content.contentData.streamingUrl && !content.isAvailableLocally && content.mimeType !== 'application/vnd.ekstep.ecml-archive') { if (!this.commonUtilService.networkInfo.isNetworkAvailable) { this.commonUtilService.showToast('ERROR_OFFLINE_MODE'); return;