Widget:BookReader2

Widget for embedding a book using a reader based on the Internet Archive's code. It uses the template {{bookreader2}} to invoke the widget.

Created by Dave Pattern and last updated on 6 June 2020.

Using this widget

Default usage will embed a readable book that has the ID of the current page:

{{bookreader2}}

Optional named parameters:

  • bookid — override the book ID
  • pages — number of pages to display (values 1 or 2, default 2)
  • height — height of the iframe in pixels (default 800)
  • internetarchive — ID of a an Internet Archive book to embed (e.g. YASWCR001, this overrides any bookid value)
  • pdf — only valid when internetarchive is used, this overrides the automatically generated PDF download URL