Demo works fine but when I enter my own client ID and pdf I get the file preview error. Recreated credientials as suggested in this thread. but didn't solve the issue. Read a bit about CORS issues but the pdf I'm using is located at my own domain so don't think that's it. Tried using different pdfs and locating them in the main directory not using subfolders and still the same preview error. Any help would be appreciated to get this sized container working. Thanks,
I've never done this but it seems to me that the URL in the code doesn't match the domain in the credentials.
After a quick break and some more messing around came across two things: first was the unwanted angular brackets I had on the client id, but the bigger issue is it won't work locally and I needed to actually launch my web page to have it function. Inconvenient for testing but at the end of the day up and running where it matters.