Navigation

Embedding HathiTrust Books

You can embed HathiTrust books in a Web page by attaching

?urlappend=%3Bui=embed

to the Handle URL and including the URL in an iframe. For example, given a Handle URL,

http://hdl.handle.net/2027/wu.89004292751

the URL to use in the iframe would be

http://hdl.handle.net/2027/wu.89004292751?urlappend=%3Bui=embed

The iframe should ideally have a minimum width of 450 pixels.

Embedding will automatically open in scroll view ("1up" mode) as below when the frame is taller than it is wide. It will open in flip view ("2up" mode - see further below) when the iframe is wider than it is tall.

You can override either default by specifying either view=1up or view=2up in the URL, e.g., by attaching

?urlappend=%3Bui=embed%3Bview=1up

or

?urlappend=%3Bui=embed%3Bview=2up

to the volume URL.

Scroll view

HTML Code

Display

 

Flip view

To embed the flip book, simply make the iframe wider than it is tall, e.g.,

HTML Code

Display
https://www.hathitrust.org/embed
www.hathitrust.org
crawl=CC-MAIN-2016-50
18377
application/http; msgtype=response
sha1:A3PA5H3AXL3N4PL26I3MYFZCF4CUKRRW
<urn:uuid:88307ec1-6cce-4b86-bea3-37ddb246a371>
2016-12-04T01:50:31Z
134.68.125.203
sha1:IQIADLWF4OAMIZIN55MJBCYMTSDZRXAM
<urn:uuid:655952cb-e796-4ebb-8958-a7d4b02ecb57>
https://www.hathitrust.org/embed
length
response
<urn:uuid:7f65cb50-1ab6-48bc-b0c0-682aed1a4996>
robots: classic
hostname: ip-10-31-129-80.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-50
operator: CommonCrawl Admin
description: Wide crawl of the web for November 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf