I'm not sure if this helps, but I came across with a similar problem. I was producing pdf slides in LaTeX. The file was ok in preview and Safari without embedding, but was rotated as embedded in iFrame and object environments.
I opened the pdf in Preview in OS X, and saved the file as such. Embedding the saved file works perfectly.