Embedding pdf files from UC

I am storing pdf files on Uploadcare, that i need to embed into a webpage but i keep getting this error

Refused to get unsafe header "Accept-Ranges"

How are you embedding PDF file into HTML? Are you using any libraries for this?