Embedding Google and YouTube Video

Google and YouTube (and others) now offer a server where you can upload your video files (which tend to be of considerable size) and make them available to your visitors.

To embed Google Video:

1.
Go to Google Video and display the video you want to embed (http://video.google.com/).
2.
Copy the document id number from the Address bar. It comes right after docid=- and continues until the ampersand (&).
3.
Follow the steps for embedding Flash given on the previous page. In the two instances where you must insert the URL for the Flash animation, type http://video.google.com/googleplayer.swf?docId=-n, where n is the document id you copied in step 2. Note there are no spaces and after docId (with a capital I) comes ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.