I'm hoping you can help me. I've been trying to reproduce your result in my own HTML without success. I just get a blank screen. If I look at the Source for each of your examples, it seems like a massive amount of code.
Is it possible to show (or point to a zip file) a standalone example? So for http:// (some url), we receive an example pdf or gif. Then we can inspect the source to see how this all fits together.
My application is to use embed to offer a series of Dropbox folders that can be opened, read and/or downloaded. Pretty simple, but no luck so far.
Stan Ralph