Permission denied to access property" 'frame_ready'

135 views
Skip to first unread message

Ramona Morea

unread,
Feb 26, 2013, 8:11:08 PM2/26/13
to scribd-platfo...@googlegroups.com
I try to display a Scribd document in a lightbox like this:


* Function to show a document in a lightbox */
function showLightBox(docId) {
   
      // Set the Scribd iframe content dynamically
      var innerHTML = '<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/' + docId
                      + '/content?start_page=1&view_mode=scroll" data-auto-height="true" data-aspect-ratio="" scrolling="no" id="doc_' + docId
                      + '" width="100%" height="90%" frameborder="0"></iframe>'
      document.getElementById('scribd_container').innerHTML = innerHTML;
      // And show the lightbox and the black overlay
      document.getElementById('lightbox').style.display='block';
}

And it's working...But in the Web Console I keep seeing this error:  Permission denied to access property" 'frame_ready'
So what is wrong?

jfr...@gmail.com

unread,
Mar 12, 2013, 6:58:01 PM3/12/13
to scribd-platfo...@googlegroups.com
I am now getting this same error in Firefox only.  And since this error started appearing, the View Full Screen button no longer appears.

Error: Permission denied to access property 'frame_ready'
http://s6.scribdassets.com/aggregated/javascript/embeds.js?1363125238
Line 119



je...@scribd.com

unread,
Mar 13, 2013, 2:04:44 AM3/13/13
to scribd-platfo...@googlegroups.com
Thank you for the report. I have filed this issue for our engineers to investigate as well.

--
Regards,
Jerry, Scribd Customer Support
Reply all
Reply to author
Forward
0 new messages