I need to embed .pfd files, which is located on my infinityfree domain, in on another webpage (specifically a survey). For this I uploaded the pdf files to my infinityfree domain using the file manager. Note that I haven’t built a webpage since all I need is to have these pdf files stored on my domain. I am trying to access these pdf files with the following code:
The problem is that the .pdf file is not displayed, i.e. the where it should be shown remains blank but there’s no error message or anything. I tried i) whether the file that I want to embed can be accessed (file) and ii) whether the code above works for other pdf files on the internet and both things seem to work fine.
You can host your pdf on GitHub pages or whatnot, just not iFastNet free hosting platforms. Then, you can embed them like you were trying to do in the original post.