Can anyone help me how to use PDF Embed API on my WIX site (step by step) ?
Can I use it with an IFRAME ?
If you can tell me if WIX has a free tier, I can sign up and build a demo - but it would take a few days to find time for it. Also, did anything in my response make sense to you as you didn't comment on it.
Ah cool, glad to help!
I'm sorry, what? Your last message seemed to imply that WIX let you add custom JS to a page, so I thought the matter was done. If not, can you please re-explain what you are asking?
That wasn't clear by your response - sorry about that. I can sign up for a WIX account, but before I do, can you tell me what you tried? You did discover that WIX lets you add custom JS. Did you try adding our code? Do you have a URL we can hit?
Ok - I can attempt to make a demo of this, but it may take a while as I've got some other things on my plate, and the holidays coming up. I'll post back when I get this working.
Ok, I just tried this and I got it work.
In a page, I added an HTML element. I then literally copied our sample code and it worked - to the point of saying the application domain was invalid, which is expected. Our sample code has a fake ID.
I went to the Adobe console and made a new project. For the domain, I used: htmlcomponentservice.com. This is apparently what WIX uses for HTML embed. It may be different in production. Anyway, I got my key, updated the HTML embed, and it worked.
In theory - sure. It just depends on how you're doing it.
I put our sample code as seen below.
The only change was to use a real id.
I was able to to pass my url to the html frame and it work well, but only in preview mode.
In live mode (changing url, client ID, ecc. correclty) the html frame does not show any pdf.
Only if the pdf not exists the html frame shows an error message .
Perhaps this is a Wix limitation ? I bought my site, it is not free version ...
Can you share the URL? Maybe I can see something.
this is coming quite late, but for those with the issue now, use filesusr.com as the domain. It won't work in preview, but it'll work in published.
It does not work for me in live mode, only in preview mode.
Any indeas ?
You tried using fileusr.com as the app domain for the credentials?