I am embedding scribd PDFs on my website. These are exam papers PDF which are available on other websites. As it is scribd is an embed/iframe, I think Google considers my page as being empty with no content; Google does see iframe content right?So I decided to display the first pages of the PDF as text on the page for Google. Then, for user experience, i hide the text and replace it with the scribd embed code using JavaScript. I have 2 worries about this method. Firstly, i am displaying the first pages of the PDF and the latter may be hosted on other websites, will this be considered as duplicate content.Secondly, I am hiding the content and replacing it with the scribd embed with javascript; is it considered bad by google? 
displaying first few pages of a pdf on a page = duplicate content?
duplicate content;iframe;embed;cloaking