1

strong textKindly help me out!!

Im using angular 13, trying to convert the array buffer to blob and viewing the blob data in iframe it perfectly opens in Web Browser but in mobile web browser shows error while blob conversion

error : <html><body><!-- no enabled plugin supports this MIME type --></body></html>

enter image description here in mobile web browser it display like this but when i click open nothing happens

  let file = new Blob([arrayBuffer], { type: result.file.type });
          var fileURL = URL.createObjectURL(file);  
          this.url = this.sanitizer.bypassSecurityTrustResourceUrl(fileURL) 


    <iframe *ngIf="url" [src]="url" allow='autoplay' width="100%" height="800" allowfullscreen></iframe>
2
  • cant understand what you trying to say @K J
    – Jayanthi T
    Commented Sep 25, 2023 at 9:18
  • 1
    What is the error you're getting?
    – Jay
    Commented Sep 25, 2023 at 9:49

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.