# Embedding a book from Google Books

**URL:** <https://meta.discourse.org/t/embedding-a-book-from-google-books/62264>\
**Category:** Support\
**Created:** [07.Май.2017 19:56:49 UTC](https://meta.discourse.org/t/embedding-a-book-from-google-books/62264 "2017-05-07T19:56:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [07.Май.2017 19:56:49 UTC](https://meta.discourse.org/t/embedding-a-book-from-google-books/62264/1 "2017-05-07T19:56:49Z")

</div>

What’s the best practice for embedding an book preview from [Google Books](http://books.google.com)?

Google books provides both a plain link and an iframe, but neither of them work out of the box:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/1/61c921e4d74c038122529ae9d6936fbd964cb4e7.png)

By “don’t work” I mean they don’t give me a onebox when pasted into discourse.

The only solution I see at the moment is to whitelist [google.books.com](http://google.books.com) using @simon’s [whitelist-iframe plugin](https://meta.discourse.org/t/supporting-iframe-embeds-from-different-domains/30930/2). Is this the best/only way forward?

---

_[View the full topic](https://meta.discourse.org/t/embedding-a-book-from-google-books/62264)._
