I have a couple of installations of the iPaper module. When I updated one this morning I found that the menu bar at the top of the document is no longer working. Firstly download (which is enabled, is greyed out), secondly the 'Full screen' option doesn't do anything. However, even stranger, I've just tried with an existing install of RC8 and I have the same problem. Is it that the bar being sent from scribd has changed how it works?
Comments
Comment #1
rares commented- All new documents get the new viewer.
- Download gets greyed out if you set your document to be visible only on your site. However, people can still download using the module's built in download link (to enable, grant the permission to your users and a link will appear at the bottom) of the document.
The fullscreen issue may be browser-related. I used to have some problems with that on Chrome too. You can set how the fullscreen clicks are handled by setting a parameter in the box on the module administration page (Additional iPaper Javascript API code). Here is the documentation for it from scribd.
http://www.scribd.com/developers/api?method_name=Javascript+API
"full_screen_type" =>string
Sets the type of the fullscreen mode iPaper will switch to when fullscreen button is pressed. Valid values are: "js", "flash", "url":
flash: Display true fullscreen mode of Flash Player.
js: Maximize iPaper within the browser window.
url: Go to fullscreen url of the document on scribd.com.
Comment #2
MatthijsG commentedThe fullscreen trick does not work for me. It says Embedded Scribd iPaper - Requires Javascript and Flash Player and then gives plain text of the file. What is the exact notation?
And where to put? In Additional iPaper Javascript API code or Additional document properties
Comment #3
MatthijsG commentedO wait its more like
scribd_doc.addParam("full_screen_type", url);But this also gives me plain text :-(
scribd_doc.addParam("height", 100);adding to the Additional iPaper Javascript API code works. So the notation should be like this.FIXED. It should be:
scribd_doc.addParam( "full_screen_type" , "url" );Comment #4
rares commented