• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

File Preview Error"

New Here ,
Oct 06, 2022 Oct 06, 2022

Copy link to clipboard

Copied

I copied some script and added my client ID, PDF file location, and name. It almost works but gets an error message that says  "File Preview Error" - I found some people with the same issue and tried their fix which was to remove https, or remove https://drlesleyphillips.com. ( also noticed they didnt have <> around their client ID so I tried removing that. None of these solutions worked. I believe there is something wrong with the code but I just do not know what it is?

 

 

<div id="adobe-dc-view"></div>
<script src="https://documentservices.adobe.com/view-sdk/viewer.js"></script>
<script type="text/javascript">
document.addEventListener("adobe_dc_view_sdk.ready", function()
{var adobeDCView = new AdobeDC.View({clientId: "<e3826d972d5e48c6a8b1d598039f1cda>", divId: "adobe-dc-view"});
adobeDCView.previewFile(
{content: {location: {url: "https://drlesleyphillips.com/wp-content/uploads/Dr-Lesleys-Chakras-and-Intuition-Map.pdf"}},
metaData: {fileName: "Dr Lesleys Chakras and Intuition Map"} }); }); </script>

Views

161

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources