Show PDF document (base64)

Good morning,
since 2 days i am trying to display a base64 encoded pdf document on wix site, i get such string from client api and i am trying to display it.
I have no problem with .png files and unfortunately I haven’t found anything that would work on WIX with PDF. Has anyone had a similar problem and solved it?