Failed to load pdf because the frame is sandboxed

Hi, I have a problem where I am enable to embed my pdf in my wix website using an iframe.

The frame is completely blank, no waring or errors messages/icons in the frame.

When I pressed F12 to check the console I saw this error:

Failed to load 'https://docs.wixstatic.com/ugd/d9cdb0_24df96cd1cb247bdb2a3825943a48c36.pdf' as a plugin, because the frame into which the plugin is loading is sandboxed.

How can I fix this problem?

Thank you for your time

See here for working with iFrames in Wix.
https://support.wix.com/en/article/using-iframes-to-display-visible-content-on-your-site

You will read on this page about the difference between using html iFrames on free Wix sites and premium Wix sites.
Code within the HTML element is displayed on your live site within a sandboxed iFrame. Using a sandbox protects visitors to Wix sites from potential side-effects of custom HTML/JS/CSS code.

Also note that on this page Wix state that if your used code comes from a third party provider, then you need to go back to the third party code provider as Wix won’t support code from a third party.
We cannot provide support for external codes that were not created or tested with Wix. If you are experiencing an issue with your code snippet, please contact the provider directly.

Although, if you are just trying to show a pdf on your website which is already stored in your Wix Media Manager, then why not just use Wix PDF Viewer or link to it with a button.
https://support.wix.com/en/article/adding-and-setting-up-the-pdf-viewer-app
https://support.wix.com/en/article/sharing-documents-on-your-site