br.numLeafs = 15;
// Book title and the URL used for the book title link
-br.bookTitle= 'Open Library Bookreader Presentation';
+br.bookTitle= 'Open Library BookReader Presentation';
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();