Hello All
I am using Scribd Viewer/Document Viewer for a few years. I upload my pdf files to www.domain/books/123.pdf folder and use that books/123.pdf in my web application to open the pdf file in scribd viewer. [We have 700 pdfs]
Each time after uploading my document to my website and opening it with scribd viewer, i could go to
scribd.com and change the properties of the converted file [ so no direct uploading to scribd]. There I could disable the printing option for the specific document. But since past few weeks the layout of the documents in
scribd.com has changed. It no more gives me the option to turn off printing.
It does give Set Readers Permission but there is no option for turning off the printing option. I did search the net but this problems has been mentioned no where. I dont really know what is happening.
The code I use for the viewer is as follows.
<script type="text/javascript">
var scribd_publisher_id = xxxxxxxxx'';
var scribd_type = 2;
var scribd_keep_original_link = 1;
var scribd_ipaper_params = [];
scribd_ipaper_params['width'] = 490;
scribd_ipaper_params['height'] = 800;
scribd_ipaper_params['public'] = false;
</script>
<script src="
http://www.scribd.com/javascripts/auto.js"></script>
I did search on the net and I see that the code for scribd viewer has changed too.
<script type="text/javascript" src='http://www.scribd.com/javascripts/scribd_api.js'></script>
<div id='embedded_doc' ><a href='http://www.scribd.com'>Scribd</a></div>
<script type="text/javascript">
var url = 'http://lib.store.yahoo.net/lib/paulgraham/onlisp.ps'; [what url should be used here in my case because i do not have one document but 700]
var pub_id = 'YOUR-SCRIBD-PUBLISHER-ID';
var scribd_doc = scribd.Document.getDocFromUrl(url, pub_id); [which url should be used here?]
var onDocReady = function(e){
scribd_doc.api.setPage(3);
}
scribd_doc.addEventListener('docReady', onDocReady);
scribd_doc.addParam('jsapi_version', 2);
scribd_doc.addParam('height', 600);
scribd_doc.addParam('width', 400);
scribd_doc.addParam('public', true);
scribd_doc.write('embedded_doc');
</script>My question are: Where and how can I turn off the printing option? Does it requires changing accounts settings [all document are private] or does it has something to do with the code for ipaper reader that i use?
Second many of the visitors complain that the scribd viewer cannot be viewed in mobile devices. I did found out that scribd uses html5 to ease that problem. How can I set up the html5 code and where can I find it?
Any help is appreciated.
Thanks in advance
Dirrix