I was suddenly getting the error message "Embedded Scribd iPaper - Requires Javascript and Flash Player" and got no document embedded in a totally unchanged D6 site using this module. Upgrading to the latest dev-version did nothing.

The reason was the module trying to load http://www.scribd.com/javascripts/view.js, which does not exist anymore. Scribd now requires that the API-JavaScript is loaded from http://www.scribd.com/javascripts/scribd_api.js
Without this API you get the JavaScript error "scribd is not defined" and things halt.

Change the code in line 474 in the file ipaper.module (one of the first lines in function theme_ipaper_viewer())
from
<script type=text/javascript src='http://www.scribd.com/javascripts/view.js'></script>
to
<script type='text/javascript' src='http://www.scribd.com/javascripts/scribd_api.js'></script>
and this error is fixed and things are working again.

Sorry, but rolling and submitting a patch is beyond my immediate skills. Someone else might be able.

Martin

Comments

jdotti’s picture

It is working. Thanks a lot.

JD