Embedding a video in blog post is easy. This sample shows how to embed Google video in your post. First you will need to know the ID of the video. You get this by following these steps:
- Find the video to embed.
- Click Email - Blog... button.
- Select Embed HTML link.
- Find the docId in the address of the video and copy it into the clipboard.
Add the following code in your post:
<object type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf?docId= [enter docId here]&hl=en" width="400" height="326" id="VideoPlayback"> <param name="movie" value="http://video.google.com/googleplayer.swf?docId= [enter docId here]&hl=en" /> <a href="http://video.google.com/videoplay?docid= [enter docId here]&hl=en"> [enter video caption here] </a> </object>
Replace the [enter docId here] with the id found in the address. You may also add optional video caption in the code. This is shown in case the video cannot be displayed directly in your browser.