An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to gostips@gmail.com .

September 12, 2013

Embed Google+ Posts

One of the things I don't like about Google+ is that it's hard to embed content from Google+. You can't embed photo albums, you can't embed videos uploaded to Google+, you can't add a widget that shows your latest Google+ posts, at least not officially. There are workarounds, but these are features that should be added by Google. Picasa Web Albums had a cool slideshow widget, YouTube lets you embed videos and almost any other Google content service supports feeds.

There's a new Google+ feature that somewhat addresses these issues. You can now embed almost any public Google+ post: just mouse over the post, click the arrow icon and click "embed post". You'll get some code you can quickly add to a blog post.



If you already use other Google+ widgets and you've switched to asynchronous JavaScript loading, you can leave out the first part of the code and only add the div tag (the code that starts with "<!-- Place this tag where you want the widget to render. -->").

The embedded post looks just like a Google+ post from the homepage, so you can only read the first sentences of the post and the most recent comment. Obviously, you can expand the post and the list of comments. "Text, photo, and media posts are all supported, and the embeds are fully interactive, so visitors can +1, comment and follow inline," informs Google.

Here's an example:



This page has more information about the Google+ embedding code. If the post includes a video uploaded to Google+, the video will play in a new page. If the post includes a Google+ photo or photo album and users click a photo, a new page will open and they'll see the Google+ image view.

This feature is limited to public posts. You can't embed posts from a community, posts restricted to a Google Apps domain, private posts, event posts and Hangout on Air posts.

This blog is not affiliated with Google.