<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to change the src attribute in a HTML5 video tag</title>
	<atom:link href="http://www.tierra-innovation.com/blog/2010/04/02/how-to-change-the-src-attribute-in-a-html5-video-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tierra-innovation.com/blog/2010/04/02/how-to-change-the-src-attribute-in-a-html5-video-tag/</link>
	<description>Innovation in technology, strategy and design</description>
	<lastBuildDate>Mon, 19 Sep 2011 14:55:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Gabriel</title>
		<link>http://www.tierra-innovation.com/blog/2010/04/02/how-to-change-the-src-attribute-in-a-html5-video-tag/comment-page-1/#comment-3556</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Mon, 19 Sep 2011 14:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.tierra-innovation.com/blog/?p=712#comment-3556</guid>
		<description>look at this post:

http://stackoverflow.com/questions/5703203/html5-video-change-multiple-sources

nice and simple solution!</description>
		<content:encoded><![CDATA[<p>look at this post:</p>
<p><a href="http://stackoverflow.com/questions/5703203/html5-video-change-multiple-sources" rel="nofollow">http://stackoverflow.com/questions/5703203/html5-video-change-multiple-sources</a></p>
<p>nice and simple solution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Hatfield</title>
		<link>http://www.tierra-innovation.com/blog/2010/04/02/how-to-change-the-src-attribute-in-a-html5-video-tag/comment-page-1/#comment-771</link>
		<dc:creator>Joshua Hatfield</dc:creator>
		<pubDate>Fri, 02 Apr 2010 19:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.tierra-innovation.com/blog/?p=712#comment-771</guid>
		<description>jQuery plugin (I think this works):

(function($){
    $.fn.switchvid = function(options) {
    
        var defaults = {
            newURL: &#039;&#039;
        };
        var options = $.extend(defaults, options);
        
        $(this).pause();
        $(this).src = options.newURL;
        $(this).load();
    };
})(jQuery);

Use it like this:

$(document).ready(function(){
    $(&#039;#element&#039;).switchvid();
});</description>
		<content:encoded><![CDATA[<p>jQuery plugin (I think this works):</p>
<p>(function($){<br />
    $.fn.switchvid = function(options) {</p>
<p>        var defaults = {<br />
            newURL: &#8221;<br />
        };<br />
        var options = $.extend(defaults, options);</p>
<p>        $(this).pause();<br />
        $(this).src = options.newURL;<br />
        $(this).load();<br />
    };<br />
})(jQuery);</p>
<p>Use it like this:</p>
<p>$(document).ready(function(){<br />
    $(&#8216;#element&#8217;).switchvid();<br />
});</p>
]]></content:encoded>
	</item>
</channel>
</rss>

