# Viewer black on android mobile iframe

**URL:** https://pdfjs.community/t/viewer-black-on-android-mobile-iframe/1529
**Category:** Technical Support
**Created:** [March 30, 2022, 4:11pm UTC](https://pdfjs.community/t/viewer-black-on-android-mobile-iframe/1529 "2022-03-30T16:11:26Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![TristanM](https://avatars.discourse-cdn.com/v4/letter/t/e47774/32.png) [@TristanM](https://pdfjs.community/u/TristanM)
#### Post date: [March 30, 2022, 4:11pm UTC](https://pdfjs.community/t/viewer-black-on-android-mobile-iframe/1529/1 "2022-03-30T16:11:26Z")

</div>

Hi,

I’m facing a problem with viewer on android mobile view, the viewer works perfectly with the desktop mode (windows, android and IOS), but the pdf is not loading when using android mobile ( i havn’t test with ios mobile since i don’t have an iphone right now).

![GIF-220330_175333](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/a965e827d22242c169e0d292834c87c379c6eeff.gif)

You can see with the gif that the viewer works when using desktop view, and that on mobile, only the left panel show the pdf.

The issue does not come from chrome since the demo here [How to Embed a PDF in an HTML Website | PDF.js Express](https://pdfjs.express/blog/how-embed-pdf-in-html-website) works perfectly. I’m guessing that i’m misssing something. I’m not good with java script and i had trouble finding documentation on the website talking about iframe.

Thank you very much for you help

Here is my code for the viewer

```
    <div class="col-md-6">
        <div class="card">
            <div class="card-body">
                <!-- Errors out -->
                <div id='labo' style='height: 75vh; width: 100% ;'></div>
            </div>
        </div>
    </div>

```

---

_[View the full topic](https://pdfjs.community/t/viewer-black-on-android-mobile-iframe/1529)._
