lib/scribd-carrierwave.rb in scribd-carrierwave-0.0.6 vs lib/scribd-carrierwave.rb in scribd-carrierwave-0.0.7
- old
+ new
@@ -55,9 +55,10 @@
<<-END
<script type="text/javascript" src="http://www.scribd.com/javascripts/view.js"></script>
<div id="embedded_flash#{id}">#{options.delete(:alt)}</div>
<script type="text/javascript">
var scribd_doc = scribd.Document.getDoc(#{ipaper_id}, '#{ipaper_access_key}');
+ scribd_doc.addParam( 'jsapi_version', 2 );
scribd_doc.addParam("hide_disabled_buttons", true)
scribd_doc.write("embedded_flash#{id}");
</script>
END
end