Skip to content

Commit

Permalink
Issue #ED-0000 fix: ecml download and play for qrscan content playOnline
Browse files Browse the repository at this point in the history
  • Loading branch information
vpPavithra committed Jun 26, 2024
1 parent def9604 commit da78c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qrcoderesult/qrcoderesult.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit da78c9e

Please sign in to comment.