Skip to main content
Participant
May 31, 2022
Question

PDF Embed load issue using QR code

  • May 31, 2022
  • 1 reply
  • 1027 views

Hi, our customers have experienced issues loading the <iframe> embed when coming onto our website using a QR code. However, the <iframe> loads when upon refresh. Is there a way to fix this? it seems the iframe isnt triggering the load when users come onto the page via QR code?

 

following is the direct link to the iframe page: https://www.davidjones.com/flyer/instore-promotion

This topic has been closed for replies.

1 reply

S_S
Community Manager
Community Manager
May 31, 2022

Hello Helen,

 

I hope you are doing well. I am sorry for your experience with Acrobat Reader Mobile. 

 

Is this issue with a specific QR code. If yes, can you try using other files and check?

 

Can you also please check if the application is up to date. 

 

Hoping to hear from you.

 

Thanks,

Souvik.

Participant
June 1, 2022

Hi Souvik, 

 

Please find attached new QR code for your testing purpose. 

Please note we have tested the QR codes with the following devices:

samsung gal 20, and using the inbuilt qrcode setting

- apple iphone 11, scanning with camera and viewing on safari

 

As the adobe application is just an iframe, i dont think there are any "updates" required from my end. If you can please have a look at the code for me, let me know if you find anything old?

 

<div id="adobe-dc-view" class="ViewSDK_hideOverflow"><iframe src="https://documentcloud.adobe.com/view-sdk/2.24.4_2.11.0-d41709d8/iframe.html?locale=en-US&amp;msi=9710011198101451009945118105101119&amp;parent=https%3A%2F%2Fwww.davidjones.com%2Fflyer%2Finstore-promotion" id="iframe-adobe-dc-view" allowfullscreen="allowfullscreen" style="width: 100%; height: 100%; border: none;"></iframe></div>

 

<script src="https://documentcloud.adobe.com/view-sdk/main.js">// <![CDATA[

// ]]></script>

 

<script type="text/javascript">// <![CDATA[
$( document ).ready(function() {
document.addEventListener("adobe_dc_view_sdk.ready", function(){
var adobeDCView = new AdobeDC.View({clientId: "1c71ca242a1b482482e7ef568ef0fe06", divId: "adobe-dc-view"});
adobeDCView.previewFile({
content: {location: {url: "/images/assetimages/pdf/information/AW22_TACTICAL_Clearance_Flyer_Digital.pdf"}},
metaData:{fileName: "SALE"}
}, {showAnnotationTools: false, showLeftHandPanel: false, showPageControls: false});
});
});
// ]]></script>