YouTube is perhaps the quintessential example of the success of widgets. When you visit a video at the YouTube web site, you'll find a chunk of HTML code that you can copy and then paste into your blog, MySpace page, or other web site. I've embedded a YouTube video below. (Beware of humorous political content. Ali G. interviews Patrick Buchanan and tricks him into confusing WMDs and BLTs.)
The chunk of HTML code that I pasted into this blog entry to embed this video was:
<embed src="http://www.youtube.com/v/blnduEgwBH0" width="425" height="350" type="application/x-shockwave-flash" wmode="transparent"></embed>There are two primary reasons that widgets have become such a phenomenon:
- Blogs and social networking sites have turned ordinary web users into amateur HTML programmers.
- They facilitate viral marketing.