added jstore path
[bookreader.git] / BookReaderDemo / BookReaderJSSimple.js
index fe3219a..4dd476d 100644 (file)
@@ -86,5 +86,14 @@ br.bookUrl  = 'http://openlibrary.org';
 // Override the path used to find UI images
 br.imagesBaseURL = '../BookReader/images/';
 
+br.getEmbedCode = function(frameWidth, frameHeight, viewParams) {
+    return "Embed code not supported in bookreader demo.";
+}
+
 // Let's go!
 br.init();
+
+// read-aloud and search need backend compenents and are not supported in the demo
+$('#BRtoolbar').find('.read').hide();
+$('#textSrch').hide();
+$('#btnSrch').hide();