<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Web Development Blog &#187; Embedding YouTube Videos the Standards Compliant Way—SFWobject 2.0 | Web Development Blog &#8211; Heidi Cool &#8211; Cleveland, Ohio</title>
	<atom:link href="http://www.heidicool.com/blog/category/video/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.heidicool.com/blog</link>
	<description>web • content • marketing • navigation • seo • social media</description>
	<lastBuildDate>Thu, 17 Feb 2011 21:09:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>gravity69@gmail.com ()</managingEditor>
		<webMaster>gravity69@gmail.com()</webMaster>
		<category></category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>content bull; architecture bull;nbsp;marketing bull;nbsp;seo bull; social media</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>gravity69@gmail.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.heidicool.com/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.heidicool.com/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Web Development Blog</title>
			<link>http://www.heidicool.com/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Embedding YouTube Videos the Standards Compliant Way—SFWobject 2.0</title>
		<link>http://www.heidicool.com/blog/2008/04/20/embedding-youtube-videos-the-standards-compliant-waysfwobject-20/</link>
		<comments>http://www.heidicool.com/blog/2008/04/20/embedding-youtube-videos-the-standards-compliant-waysfwobject-20/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 03:24:50 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=132</guid>
		<description><![CDATA[As video becomes easier to produce, more and more people are creating and sharing videso online. Whether you are a professor demonstrating your research, a student working on a film project, or me creating how-to instructions, you've realized that there are times when video can enhance your Web content.

Back at the turn of the century, embedding video was complicated. Streaming required a special server, you had to decide what format(s) you wanted to stream, then you had to provide links to whatever software users might need to view your video—in case it wasn't already installed on their computers.

With YouTube, that's all changed. Now you can just go to the YouTube page for the video you wish to embed, copy the coding they provide, paste it into your html file or blog entry and publish the page.

It's just that easy—unless, like me, you care about adhering to Web standards. In that case, it requires a few more steps, but don't worry, they're not that complicated.

]]></description>
			<content:encoded><![CDATA[<p>As video becomes easier to produce, more and more people are creating and sharing videos online. Whether you are a professor demonstrating your research, a student working on a film project, or me creating how-to instructions, you've realized that there are times when video can enhance your Web content. </p>

<p class="photoright">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="425" height="350" id="myFlashContent">
<param name="movie" value="http://www.youtube.com/v/b-tYxJcFj9I&amp;hl=en" />
<param name="wmode" value="opaque" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/b-tYxJcFj9I&amp;hl=en" width="425" height="355">
<param name="wmode" value="opaque" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<br />The resolution on YouTube is not as crisp as the original. <br />
You can also view the video in <a href="http://blog.case.edu/webdev/2008/04/20/youtubeembed.mov">higher resolution .mov format</a>.</p>


<p>Back at the turn of the century, embedding video was complicated. Streaming required a special server, you had to decide what format(s) you wanted to stream, then you had to provide links to whatever software users might need to view your video&mdash;in case it wasn't already installed on their computers. </p>
<p>With <a href="http://www.youtube.com">YouTube</a>, that's all changed. Now you can just go to the YouTube page for the video you wish to embed, copy the coding they provide, paste it into your html file or blog entry and publish the page. </p>
<p>It's just that easy&mdash;unless, like me, you care about adhering to <a href="http://www.heidicool.com/blog/2007/08/28/an-introduction-to-web-standards/">Web
standards</a>. In that case, it requires a few more steps, but don't worry, they're not that complicated. YouTube videos can be embedded on the Web using swfobject.js&mdash;in a manner similar to the method I described last year in &quot;<a href="http://www.heidicool.com/blog/2007/04/19/embedding-flash-objects-for-internet-explorer/">Embedding
Flash Objects for Internet Explorer</a>.&quot; You can also use this method for embedding regular Flash .swf files. Just substitute the path to your .swf for the YouTube link in the instructions below. </p>

<h5>Downloading swfobject 2.0</h5>
<p>SWFObject 2.0 provides a significant upgrade to SWFObject 1.5&mdash;what we'd previously been using to embed Flash .swf files. To begin you will want to <a href="http://swfobject.googlecode.com/files/swfobject_2_0.zip">download
the new script</a> from the <a href="http://code.google.com/p/swfobject/">SWFobject
project page</a>. After downloading the script, you can upload it to your site, in whichever directory you prefer. <em>Note: SWFobject 2.0 is not backwards compatible with 1.5, but the script has the same file name, swfobject.js. If you are already using 1.5 on your site&mdash;and don't plan to immediately edit all the pages that use it&mdash;you should rename the file to something like swfobject2.js or store it in a different directory so that you don't write over the prior version.</em> </p>

<h5>Generate the embed code for your page</h5>
<p>While you could do this manually by following the instructions in the <a href="http://code.google.com/p/swfobject/wiki/documentation">documentation</a>, the SWFobject team has provided a rather handy Web-based code generator that we'll use in this example. </p>
<ol>
<li>Go the the YouTube page for the video you wish to embed and copy the embed code provided.</li>
<li>Paste this into a blank file in Dreamweaver or your preferred editor. We won't be using this code in our page, but we'll want it for reference.
<p class="code">&lt;object width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param
name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/b-tYxJcFj9I&amp;hl=en&quot;&gt;&lt;/param&gt;&lt;param
name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;embed
src=&quot;http://www.youtube.com/v/b-tYxJcFj9I&amp;hl=en&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</p>
</li>
<li>Within this code you will see a link to the video after value=&quot;. Within
this link there may be an ampersand. <a href="http://www.html-reference.com/Escape.htm">Escape</a> the &amp; by
typing amp; after it. </li>
<li>Copy this link,<span class="code">http://www.youtube.com/v/b-tYxJcFj9I&amp;amp;hl=en</span>,
then go to the <a href="http://code.google.com/p/swfobject/wiki/generator">SWFObject
2.0 HTML and JavaScript generator</a>.</li>
<li>Paste the link in the box to the right of &quot;Flash (.swf):.&quot;</li>
<li>Near the top of the generator, choose between static and dynamic. I will
be using static in this example as dynamic would require me to put additional
code--specific to this video--in my header. Here on the blog my headers are
part of my templates so I can't use anything that would be specific to only
one entry. (The <a href="http://code.google.com/p/swfobject/wiki/documentation">documentation</a> offers
additional information on the static and dynamic methods.)</li>
<li>Copy the width and height values from the YouTube embed code and paste
them into the dimensions boxes in the generator.</li>
<li>Click on &quot;more&quot; in the SWF definition box if you like to edit
additional <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701&amp;sliceId=2">attributes</a>. </li>
<li>In the HTML definition box choose the version of XHTML or HTML and character
encoding you use on your Web site. </li>
<li>Click the &quot;Generate Code&quot; button.</li>
</ol>

<h5>Embedding the video in your page</h5>
<ol>
<li>Copy the script code found with the head of the generated output. <p class="code">&lt;script
type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
swfobject.registerObject(&quot;myFlashContent&quot;, &quot;9.0.0&quot;);<br />
&lt;/script&gt; </p></li>
<li>Paste this into the head of your HTML file or blog templates. <em>Note:
Because I have already been using the previous version of SWFobject on this
blog, I named my script swfobject2.js before uploading it to the server.
Therefore I must also change the name in this code then add it to the code
that is already in my templates.</em> Thus my files will include:
<p class="code">&lt;script type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;<br />
&lt;script
type=&quot;text/javascript&quot; src=&quot;swfobject2.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
swfobject.registerObject(&quot;myFlashContent&quot;, &quot;9.0.0&quot;);<br />
&lt;/script&gt; </p></li>
<li>Copy the object code found within the body of the generated output. <p class="code">&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;425&quot; height=&quot;350&quot; id=&quot;myFlashContent&quot;&gt;<br />
&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/b-tYxJcFj9I&amp;amp;hl=en&quot; /&gt;<br />
&lt;param name=&quot;wmode&quot; value=&quot;opaque&quot; /&gt;<br />
&lt;!--[if !IE]&gt;--&gt;<br />
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.youtube.com/v/b-tYxJcFj9I&amp;amp;hl=en&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;<br />
&lt;param name=&quot;wmode&quot; value=&quot;opaque&quot; /&gt;<br />
&lt;!--&lt;![endif]--&gt;<br />
&lt;a href=&quot;http://www.adobe.com/go/getflashplayer&quot;&gt;<br />
&lt;img src=&quot;http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif&quot; alt=&quot;Get Adobe Flash player&quot; /&gt;<br />
&lt;/a&gt;<br />
&lt;!--[if !IE]&gt;--&gt;<br />
&lt;/object&gt;<br />
&lt;!--&lt;![endif]--&gt;<br />
&lt;/object&gt;</p></li>
<li>Paste this into the place in your file where you would like the video to
appear. </li>
<li>Upload the file to your server and watch the video! </li>
</ol>

<h5>SWFObject Resources</h5>
<ul>
<li><a href="http://www.swffix.org/devblog/">SWFObject devblog</a></li>

<li><a href="http://groups.google.com/group/swfobject">Active Content Developer Center</a> </li>
<li><a href="http://blogs.msdn.com/ie/archive/2008/04/08/ie-automatic-component-activation-now-available.aspx">IE Automatic Component Activation Now Available</a> (Internet Explorer users will no longer have to click to activate videos embedded using the static method.) </li>
<li><a href="http://www.adobe.com/devnet/activecontent/faq.html">SWFObject discussion group</a> </li>
<li><a href="http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation">SWFObject 2.0 Documentation</a> </li>
<li><a href="http://code.google.com/apis/youtube/js_api_reference.html">YouTube JavaScript Player API Reference</a> </li>

</ul>

<h5>About the <em>Embedding YouTube Videos the Standards Compliant Way</em> video</h5>
<p>The video screen captures were recorded using <a href="http://www.shinywhitebox.com/home/home.html">iShowU</a>, a program I discovered yesterday afternoon. The scenes were pieced together, and audio was recorded and added in <a href="http://www.apple.com/ilife/imovie/">iMovie</a>. As this was my first time experimenting with iShowU some portions of the video are a bit wobbly, but overall I found it very easy to use. I expect my skills will improve with time. </p>
<p>I'll post more about the process as I become more familiar with the software. Members of the Case Western Reserve University community interested in producing similar instructional videos may also wish to visit the <a href="http://fc.case.edu/">Freedman
Center</a> which offers tools and instructions on this and related topics. </p>

]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2008/04/20/embedding-youtube-videos-the-standards-compliant-waysfwobject-20/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
<enclosure url="http://blog.case.edu/webdev/2008/04/20/youtubeembed.mov" length="24578199" type="video/quicktime" />
		</item>
		<item>
		<title>Common Craft&#8217;s Plain English Video Series</title>
		<link>http://www.heidicool.com/blog/2008/02/14/common-crafts-plain-english-video-series/</link>
		<comments>http://www.heidicool.com/blog/2008/02/14/common-crafts-plain-english-video-series/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 22:45:30 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[commoncraft]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=127</guid>
		<description><![CDATA[Alas, I've not yet finished the article I had planned for this week. In the meantime I highly recommend the amusing and informative videos produced by commoncraft. These easy-to-follow videos cover a variety of Internet related topics and provide a great introduction to everything from RSS to photo sharing.
]]></description>
			<content:encoded><![CDATA[<p>Alas, I've not yet finished the article I had planned for this week. In the meantime I highly recommend the amusing and informative videos produced by <a href="http://www.commoncraft.com/">commoncraft</a>. These <a href="http://www.youtube.com/user/leelefever">easy-to-follow videos</a> cover a variety of Internet related topics and provide a great introduction to everything from RSS to photo sharing. </p>
<p>For those of you who are already in the know, try sharing these with your less tech-savvy friends. Teaching them the basics of your world may (or may not) stop them from giving you funny looks the next time you start Twittering about your Facebook status and how you're aggregating your Pownce, del.icio.us and blog feeds on Tumblr.</p>
<p>Here's two to get you started:</p>

<h5>Social Networking in Plain English</h5>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/6a_KF7TYKVc&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/6a_KF7TYKVc&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>

<h5>Social Bookmarking in Plain English</h5>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/x66lV7GOcNU&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/x66lV7GOcNU&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2008/02/14/common-crafts-plain-english-video-series/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

