]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
bullshit
authorrwldrn <waldron.rick@gmail.com>
Mon, 17 Jan 2011 19:33:41 +0000 (14:33 -0500)
committerrwldrn <waldron.rick@gmail.com>
Mon, 17 Jan 2011 19:33:41 +0000 (14:33 -0500)
1  2 
demos/popcorn/xml/data.xml
demos/popcorn/xml/data.xml~
demos/semantic_video/index.html
demos/semantic_video/xml/webMadeMovies.xml
popcorn.js

index f2f29fa128c2c9ae8b06ecf6465bf1bdcbec02c2,0000000000000000000000000000000000000000..c23ccaf33b4bca5a4fd805ae8a211d26bc7849bc
mode 100755,000000..100755
--- /dev/null
@@@ -1,76 -1,0 +1,76 @@@
- <popcorn>\r
-       <timeline>\r
-     <subtitles language="en" target="translateinfo">\r
-                 <subtitle in="00:00:00:00" out="00:00:02:00">I am one of the lead developers of </subtitle>\r
-                 <subtitle in="00:00:02:00" out="00:00:05:00">popcorn a JavaScript library that adds </subtitle>\r
-                 <subtitle in="00:00:05:00" out="00:00:07:00">timeline based data to any video.</subtitle>\r
-                 <subtitle in="00:00:08:00" out="00:00:09:00">I am going to show you what popcorn</subtitle>\r
-                 <subtitle in="00:00:09:00" out="00:00:12:00">can do. Right now all you see is me</subtitle>\r
-                 <subtitle in="00:00:12:00" out="00:00:14:00">talking on the screen you can’t really</subtitle>\r
-                 <subtitle in="00:00:14:00" out="00:00:17:00">do anything but watch. Let’s make this </subtitle>\r
-                 <subtitle in="00:00:17:00" out="00:00:19:00">video more exciting. Let me add </subtitle>\r
-                 <subtitle in="00:00:19:00" out="00:00:22:00">some French subtitles. Popcorn uses</subtitle>\r
-                 <subtitle in="00:00:22:00" out="00:00:24:00">Google Translate to translate subtitles</subtitle>\r
-                 <subtitle in="00:00:24:00" out="00:00:27:00">to any language. You might be curious</subtitle>\r
-                 <subtitle in="00:00:27:00" out="00:00:29:00">to know that this video was filmed in</subtitle>\r
-                 <subtitle in="00:00:29:00" out="00:00:32:00">Toronto, Ontario. If you don’t know </subtitle>\r
-                 <subtitle in="00:00:32:00" out="00:00:34:00">exactly where that is feel free to </subtitle>\r
-                 <subtitle in="00:00:34:00" out="00:00:36:00">pause this video and investigate the</subtitle>\r
-                 <subtitle in="00:00:36:00" out="00:00:39:00">map. Popcorn was built by five people,</subtitle>\r
-       <subtitle in="00:00:39:00" out="00:00:42:00">there they are. We collaborated with </subtitle>\r
-       <subtitle in="00:00:42:00" out="00:00:44:00">filmmakers and artists to ensure that</subtitle>\r
-       <subtitle in="00:00:44:00" out="00:00:47:00">popcorn is easy to use. Let me show</subtitle>\r
-       <subtitle in="00:00:47:00" out="00:00:49:00">you some other cool features. Keep in</subtitle>\r
-       <subtitle in="00:00:49:00" out="00:00:51:00">mind that you can have any feature </subtitle>\r
-       <subtitle in="00:00:51:00" out="00:00:54:00">appear and disappear at any time</subtitle>\r
-       <subtitle in="00:00:54:00" out="56.5">during the video. Popcorn makes it </subtitle>\r
-       <subtitle in="56.5" out="00:00:59:00">possible to pull data from twitter.</subtitle>\r
-       <subtitle in="00:00:59:00" out="00:01:01:00">Let’s see what people are saying </subtitle>\r
-       <subtitle in="00:01:01:00" out="00:01:02:00">about popcorn right now.</subtitle>\r
-       <subtitle in="00:01:03:00" out="00:01:04:00">You can also showcase your work </subtitle>\r
-       <subtitle in="00:01:04:00" out="00:01:07:00">by pulling data from a flicker account.</subtitle>\r
-       <subtitle in="00:01:07:00" out="00:01:09:00">Here are some pictures I posted.</subtitle>\r
-       <subtitle in="00:01:09:00" out="00:01:10:00">If you are not quite sure what</subtitle>\r
-       <subtitle in="00:01:10:00" out="00:01:12:00">Flicker is take a second to read</subtitle>\r
-       <subtitle in="00:01:12:00" out="00:01:15:00">about it on Wikipedia. To try</subtitle>\r
-       <subtitle in="00:01:15:00" out="00:01:17:00">out popcorn visit our homepage,</subtitle>\r
-       <subtitle in="00:01:17:00" >it is displayed just below me. </subtitle>\r
-         \r
-     </subtitles>\r
-     <subtitles language="en" target="translateinfofrench" languagesrc="language">\r
-                 <subtitle in="00:00:19:00" out="00:00:22:00">some French subtitles. Popcorn uses</subtitle>\r
-                 <subtitle in="00:00:22:00" out="00:00:24:00">Google Translate to translate subtitles</subtitle>\r
-                 <subtitle in="00:00:24:00" out="00:00:27:00">to any language. You might be curious</subtitle>\r
-                 <subtitle in="00:00:27:00" out="00:00:29:00">to know that this video was filmed in</subtitle>\r
-                 <subtitle in="00:00:29:00" out="00:00:32:00">Toronto, Ontario. If you don’t know </subtitle>\r
-                 <subtitle in="00:00:32:00" out="00:00:34:00">exactly where that is feel free to </subtitle>\r
-                 <subtitle in="00:00:34:00" out="00:00:36:00">pause this video and investigate the</subtitle>\r
-                 <subtitle in="00:00:36:00" out="00:00:39:00">map. Popcorn was built by five people,</subtitle>\r
-       <subtitle in="00:00:39:00" out="00:00:42:00">there they are. We collaborated with </subtitle>\r
-       <subtitle in="00:00:42:00" out="00:00:44:00">filmmakers and artists to ensure that</subtitle>\r
-       <subtitle in="00:00:44:00" out="00:00:47:00">popcorn is easy to use. Let me show</subtitle>\r
-       <subtitle in="00:00:47:00" out="00:00:49:00">you some other cool features. Keep in</subtitle>\r
-       <subtitle in="00:00:49:00" out="00:00:51:00">mind that you can have any feature </subtitle>\r
-       <subtitle in="00:00:51:00" out="00:00:54:00">appear and disappear at any time</subtitle>\r
-       <subtitle in="00:00:54:00" out="56.5">during the video. Popcorn makes it </subtitle>\r
-       <subtitle in="56.5" out="00:00:59:00">possible to pull data from twitter.</subtitle>\r
-       <subtitle in="00:00:59:00" out="00:01:01:00">Let’s see what people are saying </subtitle>\r
-       <subtitle in="00:01:01:00" out="00:01:02:00">about popcorn right now.</subtitle>\r
-       <subtitle in="00:01:03:00" out="00:01:04:00">You can also showcase your work </subtitle>\r
-       <subtitle in="00:01:04:00" out="00:01:07:00">by pulling data from a flicker account.</subtitle>\r
-       <subtitle in="00:01:07:00" out="00:01:09:00">Here are some pictures I posted.</subtitle>\r
-       <subtitle in="00:01:09:00" out="00:01:10:00">If you are not quite sure what</subtitle>\r
-       <subtitle in="00:01:10:00" out="00:01:12:00">Flicker is take a second to read</subtitle>\r
-       <subtitle in="00:01:12:00" out="00:01:15:00">about it on Wikipedia. To try</subtitle>\r
-       <subtitle in="00:01:15:00" out="00:01:17:00">out popcorn visit our homepage,</subtitle>\r
-       <subtitle in="00:01:17:00" >it is displayed just below me. </subtitle>\r
-     </subtitles>\r
-     <location in="00:00:29:00"  long="-79.403323" lat="43.665429" target="mapinfo" zoom="16"/>\r
-     <wiki in="00:01:12:00" out="00:01:15:00" src="http://en.wikipedia.org/wiki/Metadata" description="Metadata" numberOfWords="250" lang="en" target="wikiinfo"/>\r
-     <flickr in="00:01:06:00" out="00:01:10:00" target="flickrinfo" userid="54210095@N08" numberofimages="3" height="80" width="115" padding="8px"/>\r
-     <twitter in="00:00:59:00" out="00:01:05:00" title="&lt;b&gt;popcorn-js&lt;/b&gt;" source="popcorn-js" target="twitterinfo" width="400" height="120"/>\r
-     <image in="00:00:40:00" out="00:00:50:00" src="team.jpg" width="400"  target="imageinfo"/>\r
-     <webpage in="00:01:15:00" target="iframeinfo" width="920" height="200" src="http://webmademovies.org" description="WebMadeMovies"></webpage>\r
-     \r
-       </timeline>\r
- </popcorn>\r
++<popcorn>
++      <timeline>
++    <subtitles language="en" target="translateinfo">
++                <subtitle in="00:00:00:00" out="00:00:02:00">I am one of the lead developers of </subtitle>
++                <subtitle in="00:00:02:00" out="00:00:05:00">popcorn a JavaScript library that adds </subtitle>
++                <subtitle in="00:00:05:00" out="00:00:07:00">timeline based data to any video.</subtitle>
++                <subtitle in="00:00:08:00" out="00:00:09:00">I am going to show you what popcorn</subtitle>
++                <subtitle in="00:00:09:00" out="00:00:12:00">can do. Right now all you see is me</subtitle>
++                <subtitle in="00:00:12:00" out="00:00:14:00">talking on the screen you can’t really</subtitle>
++                <subtitle in="00:00:14:00" out="00:00:17:00">do anything but watch. Let’s make this </subtitle>
++                <subtitle in="00:00:17:00" out="00:00:19:00">video more exciting. Let me add </subtitle>
++                <subtitle in="00:00:19:00" out="00:00:22:00">some French subtitles. Popcorn uses</subtitle>
++                <subtitle in="00:00:22:00" out="00:00:24:00">Google Translate to translate subtitles</subtitle>
++                <subtitle in="00:00:24:00" out="00:00:27:00">to any language. You might be curious</subtitle>
++                <subtitle in="00:00:27:00" out="00:00:29:00">to know that this video was filmed in</subtitle>
++                <subtitle in="00:00:29:00" out="00:00:32:00">Toronto, Ontario. If you don’t know </subtitle>
++                <subtitle in="00:00:32:00" out="00:00:34:00">exactly where that is feel free to </subtitle>
++                <subtitle in="00:00:34:00" out="00:00:36:00">pause this video and investigate the</subtitle>
++                <subtitle in="00:00:36:00" out="00:00:39:00">map. Popcorn was built by five people,</subtitle>
++      <subtitle in="00:00:39:00" out="00:00:42:00">there they are. We collaborated with </subtitle>
++      <subtitle in="00:00:42:00" out="00:00:44:00">filmmakers and artists to ensure that</subtitle>
++      <subtitle in="00:00:44:00" out="00:00:47:00">popcorn is easy to use. Let me show</subtitle>
++      <subtitle in="00:00:47:00" out="00:00:49:00">you some other cool features. Keep in</subtitle>
++      <subtitle in="00:00:49:00" out="00:00:51:00">mind that you can have any feature </subtitle>
++      <subtitle in="00:00:51:00" out="00:00:54:00">appear and disappear at any time</subtitle>
++      <subtitle in="00:00:54:00" out="56.5">during the video. Popcorn makes it </subtitle>
++      <subtitle in="56.5" out="00:00:59:00">possible to pull data from twitter.</subtitle>
++      <subtitle in="00:00:59:00" out="00:01:01:00">Let’s see what people are saying </subtitle>
++      <subtitle in="00:01:01:00" out="00:01:02:00">about popcorn right now.</subtitle>
++      <subtitle in="00:01:03:00" out="00:01:04:00">You can also showcase your work </subtitle>
++      <subtitle in="00:01:04:00" out="00:01:07:00">by pulling data from a flicker account.</subtitle>
++      <subtitle in="00:01:07:00" out="00:01:09:00">Here are some pictures I posted.</subtitle>
++      <subtitle in="00:01:09:00" out="00:01:10:00">If you are not quite sure what</subtitle>
++      <subtitle in="00:01:10:00" out="00:01:12:00">Flicker is take a second to read</subtitle>
++      <subtitle in="00:01:12:00" out="00:01:15:00">about it on Wikipedia. To try</subtitle>
++      <subtitle in="00:01:15:00" out="00:01:17:00">out popcorn visit our homepage,</subtitle>
++      <subtitle in="00:01:17:00" >it is displayed just below me. </subtitle>
++        
++    </subtitles>
++    <subtitles language="en" target="translateinfofrench" languagesrc="language">
++                <subtitle in="00:00:19:00" out="00:00:22:00">some French subtitles. Popcorn uses</subtitle>
++                <subtitle in="00:00:22:00" out="00:00:24:00">Google Translate to translate subtitles</subtitle>
++                <subtitle in="00:00:24:00" out="00:00:27:00">to any language. You might be curious</subtitle>
++                <subtitle in="00:00:27:00" out="00:00:29:00">to know that this video was filmed in</subtitle>
++                <subtitle in="00:00:29:00" out="00:00:32:00">Toronto, Ontario. If you don’t know </subtitle>
++                <subtitle in="00:00:32:00" out="00:00:34:00">exactly where that is feel free to </subtitle>
++                <subtitle in="00:00:34:00" out="00:00:36:00">pause this video and investigate the</subtitle>
++                <subtitle in="00:00:36:00" out="00:00:39:00">map. Popcorn was built by five people,</subtitle>
++      <subtitle in="00:00:39:00" out="00:00:42:00">there they are. We collaborated with </subtitle>
++      <subtitle in="00:00:42:00" out="00:00:44:00">filmmakers and artists to ensure that</subtitle>
++      <subtitle in="00:00:44:00" out="00:00:47:00">popcorn is easy to use. Let me show</subtitle>
++      <subtitle in="00:00:47:00" out="00:00:49:00">you some other cool features. Keep in</subtitle>
++      <subtitle in="00:00:49:00" out="00:00:51:00">mind that you can have any feature </subtitle>
++      <subtitle in="00:00:51:00" out="00:00:54:00">appear and disappear at any time</subtitle>
++      <subtitle in="00:00:54:00" out="56.5">during the video. Popcorn makes it </subtitle>
++      <subtitle in="56.5" out="00:00:59:00">possible to pull data from twitter.</subtitle>
++      <subtitle in="00:00:59:00" out="00:01:01:00">Let’s see what people are saying </subtitle>
++      <subtitle in="00:01:01:00" out="00:01:02:00">about popcorn right now.</subtitle>
++      <subtitle in="00:01:03:00" out="00:01:04:00">You can also showcase your work </subtitle>
++      <subtitle in="00:01:04:00" out="00:01:07:00">by pulling data from a flicker account.</subtitle>
++      <subtitle in="00:01:07:00" out="00:01:09:00">Here are some pictures I posted.</subtitle>
++      <subtitle in="00:01:09:00" out="00:01:10:00">If you are not quite sure what</subtitle>
++      <subtitle in="00:01:10:00" out="00:01:12:00">Flicker is take a second to read</subtitle>
++      <subtitle in="00:01:12:00" out="00:01:15:00">about it on Wikipedia. To try</subtitle>
++      <subtitle in="00:01:15:00" out="00:01:17:00">out popcorn visit our homepage,</subtitle>
++      <subtitle in="00:01:17:00" >it is displayed just below me. </subtitle>
++    </subtitles>
++    <location in="00:00:29:00"  long="-79.403323" lat="43.665429" target="mapinfo" zoom="16"/>
++    <wiki in="00:01:12:00" out="00:01:15:00" src="http://en.wikipedia.org/wiki/Metadata" description="Metadata" numberOfWords="250" lang="en" target="wikiinfo"/>
++    <flickr in="00:01:06:00" out="00:01:10:00" target="flickrinfo" userid="54210095@N08" numberofimages="3" height="80" width="115" padding="8px"/>
++    <twitter in="00:00:59:00" out="00:01:05:00" title="&lt;b&gt;popcorn-js&lt;/b&gt;" source="popcorn-js" target="twitterinfo" width="400" height="120"/>
++    <image in="00:00:40:00" out="00:00:50:00" src="team.jpg" width="400"  target="imageinfo"/>
++    <webpage in="00:01:15:00" target="iframeinfo" width="920" height="200" src="http://webmademovies.org" description="WebMadeMovies"></webpage>
++    
++      </timeline>
++</popcorn>
index f2f29fa128c2c9ae8b06ecf6465bf1bdcbec02c2,0000000000000000000000000000000000000000..c23ccaf33b4bca5a4fd805ae8a211d26bc7849bc
mode 100755,000000..100755
--- /dev/null
@@@ -1,76 -1,0 +1,76 @@@
- <popcorn>\r
-       <timeline>\r
-     <subtitles language="en" target="translateinfo">\r
-                 <subtitle in="00:00:00:00" out="00:00:02:00">I am one of the lead developers of </subtitle>\r
-                 <subtitle in="00:00:02:00" out="00:00:05:00">popcorn a JavaScript library that adds </subtitle>\r
-                 <subtitle in="00:00:05:00" out="00:00:07:00">timeline based data to any video.</subtitle>\r
-                 <subtitle in="00:00:08:00" out="00:00:09:00">I am going to show you what popcorn</subtitle>\r
-                 <subtitle in="00:00:09:00" out="00:00:12:00">can do. Right now all you see is me</subtitle>\r
-                 <subtitle in="00:00:12:00" out="00:00:14:00">talking on the screen you can’t really</subtitle>\r
-                 <subtitle in="00:00:14:00" out="00:00:17:00">do anything but watch. Let’s make this </subtitle>\r
-                 <subtitle in="00:00:17:00" out="00:00:19:00">video more exciting. Let me add </subtitle>\r
-                 <subtitle in="00:00:19:00" out="00:00:22:00">some French subtitles. Popcorn uses</subtitle>\r
-                 <subtitle in="00:00:22:00" out="00:00:24:00">Google Translate to translate subtitles</subtitle>\r
-                 <subtitle in="00:00:24:00" out="00:00:27:00">to any language. You might be curious</subtitle>\r
-                 <subtitle in="00:00:27:00" out="00:00:29:00">to know that this video was filmed in</subtitle>\r
-                 <subtitle in="00:00:29:00" out="00:00:32:00">Toronto, Ontario. If you don’t know </subtitle>\r
-                 <subtitle in="00:00:32:00" out="00:00:34:00">exactly where that is feel free to </subtitle>\r
-                 <subtitle in="00:00:34:00" out="00:00:36:00">pause this video and investigate the</subtitle>\r
-                 <subtitle in="00:00:36:00" out="00:00:39:00">map. Popcorn was built by five people,</subtitle>\r
-       <subtitle in="00:00:39:00" out="00:00:42:00">there they are. We collaborated with </subtitle>\r
-       <subtitle in="00:00:42:00" out="00:00:44:00">filmmakers and artists to ensure that</subtitle>\r
-       <subtitle in="00:00:44:00" out="00:00:47:00">popcorn is easy to use. Let me show</subtitle>\r
-       <subtitle in="00:00:47:00" out="00:00:49:00">you some other cool features. Keep in</subtitle>\r
-       <subtitle in="00:00:49:00" out="00:00:51:00">mind that you can have any feature </subtitle>\r
-       <subtitle in="00:00:51:00" out="00:00:54:00">appear and disappear at any time</subtitle>\r
-       <subtitle in="00:00:54:00" out="56.5">during the video. Popcorn makes it </subtitle>\r
-       <subtitle in="56.5" out="00:00:59:00">possible to pull data from twitter.</subtitle>\r
-       <subtitle in="00:00:59:00" out="00:01:01:00">Let’s see what people are saying </subtitle>\r
-       <subtitle in="00:01:01:00" out="00:01:02:00">about popcorn right now.</subtitle>\r
-       <subtitle in="00:01:03:00" out="00:01:04:00">You can also showcase your work </subtitle>\r
-       <subtitle in="00:01:04:00" out="00:01:07:00">by pulling data from a flicker account.</subtitle>\r
-       <subtitle in="00:01:07:00" out="00:01:09:00">Here are some pictures I posted.</subtitle>\r
-       <subtitle in="00:01:09:00" out="00:01:10:00">If you are not quite sure what</subtitle>\r
-       <subtitle in="00:01:10:00" out="00:01:12:00">Flicker is take a second to read</subtitle>\r
-       <subtitle in="00:01:12:00" out="00:01:15:00">about it on Wikipedia. To try</subtitle>\r
-       <subtitle in="00:01:15:00" out="00:01:17:00">out popcorn visit our homepage,</subtitle>\r
-       <subtitle in="00:01:17:00" >it is displayed just below me. </subtitle>\r
-         \r
-     </subtitles>\r
-     <subtitles language="en" target="translateinfofrench" languagesrc="language">\r
-                 <subtitle in="00:00:19:00" out="00:00:22:00">some French subtitles. Popcorn uses</subtitle>\r
-                 <subtitle in="00:00:22:00" out="00:00:24:00">Google Translate to translate subtitles</subtitle>\r
-                 <subtitle in="00:00:24:00" out="00:00:27:00">to any language. You might be curious</subtitle>\r
-                 <subtitle in="00:00:27:00" out="00:00:29:00">to know that this video was filmed in</subtitle>\r
-                 <subtitle in="00:00:29:00" out="00:00:32:00">Toronto, Ontario. If you don’t know </subtitle>\r
-                 <subtitle in="00:00:32:00" out="00:00:34:00">exactly where that is feel free to </subtitle>\r
-                 <subtitle in="00:00:34:00" out="00:00:36:00">pause this video and investigate the</subtitle>\r
-                 <subtitle in="00:00:36:00" out="00:00:39:00">map. Popcorn was built by five people,</subtitle>\r
-       <subtitle in="00:00:39:00" out="00:00:42:00">there they are. We collaborated with </subtitle>\r
-       <subtitle in="00:00:42:00" out="00:00:44:00">filmmakers and artists to ensure that</subtitle>\r
-       <subtitle in="00:00:44:00" out="00:00:47:00">popcorn is easy to use. Let me show</subtitle>\r
-       <subtitle in="00:00:47:00" out="00:00:49:00">you some other cool features. Keep in</subtitle>\r
-       <subtitle in="00:00:49:00" out="00:00:51:00">mind that you can have any feature </subtitle>\r
-       <subtitle in="00:00:51:00" out="00:00:54:00">appear and disappear at any time</subtitle>\r
-       <subtitle in="00:00:54:00" out="56.5">during the video. Popcorn makes it </subtitle>\r
-       <subtitle in="56.5" out="00:00:59:00">possible to pull data from twitter.</subtitle>\r
-       <subtitle in="00:00:59:00" out="00:01:01:00">Let’s see what people are saying </subtitle>\r
-       <subtitle in="00:01:01:00" out="00:01:02:00">about popcorn right now.</subtitle>\r
-       <subtitle in="00:01:03:00" out="00:01:04:00">You can also showcase your work </subtitle>\r
-       <subtitle in="00:01:04:00" out="00:01:07:00">by pulling data from a flicker account.</subtitle>\r
-       <subtitle in="00:01:07:00" out="00:01:09:00">Here are some pictures I posted.</subtitle>\r
-       <subtitle in="00:01:09:00" out="00:01:10:00">If you are not quite sure what</subtitle>\r
-       <subtitle in="00:01:10:00" out="00:01:12:00">Flicker is take a second to read</subtitle>\r
-       <subtitle in="00:01:12:00" out="00:01:15:00">about it on Wikipedia. To try</subtitle>\r
-       <subtitle in="00:01:15:00" out="00:01:17:00">out popcorn visit our homepage,</subtitle>\r
-       <subtitle in="00:01:17:00" >it is displayed just below me. </subtitle>\r
-     </subtitles>\r
-     <location in="00:00:29:00"  long="-79.403323" lat="43.665429" target="mapinfo" zoom="16"/>\r
-     <wiki in="00:01:12:00" out="00:01:15:00" src="http://en.wikipedia.org/wiki/Metadata" description="Metadata" numberOfWords="250" lang="en" target="wikiinfo"/>\r
-     <flickr in="00:01:06:00" out="00:01:10:00" target="flickrinfo" userid="54210095@N08" numberofimages="3" height="80" width="115" padding="8px"/>\r
-     <twitter in="00:00:59:00" out="00:01:05:00" title="&lt;b&gt;popcorn-js&lt;/b&gt;" source="popcorn-js" target="twitterinfo" width="400" height="120"/>\r
-     <image in="00:00:40:00" out="00:00:50:00" src="team.jpg" width="400"  target="imageinfo"/>\r
-     <webpage in="00:01:15:00" target="iframeinfo" width="920" height="200" src="http://webmademovies.org" description="WebMadeMovies"></webpage>\r
-     \r
-       </timeline>\r
- </popcorn>\r
++<popcorn>
++      <timeline>
++    <subtitles language="en" target="translateinfo">
++                <subtitle in="00:00:00:00" out="00:00:02:00">I am one of the lead developers of </subtitle>
++                <subtitle in="00:00:02:00" out="00:00:05:00">popcorn a JavaScript library that adds </subtitle>
++                <subtitle in="00:00:05:00" out="00:00:07:00">timeline based data to any video.</subtitle>
++                <subtitle in="00:00:08:00" out="00:00:09:00">I am going to show you what popcorn</subtitle>
++                <subtitle in="00:00:09:00" out="00:00:12:00">can do. Right now all you see is me</subtitle>
++                <subtitle in="00:00:12:00" out="00:00:14:00">talking on the screen you can’t really</subtitle>
++                <subtitle in="00:00:14:00" out="00:00:17:00">do anything but watch. Let’s make this </subtitle>
++                <subtitle in="00:00:17:00" out="00:00:19:00">video more exciting. Let me add </subtitle>
++                <subtitle in="00:00:19:00" out="00:00:22:00">some French subtitles. Popcorn uses</subtitle>
++                <subtitle in="00:00:22:00" out="00:00:24:00">Google Translate to translate subtitles</subtitle>
++                <subtitle in="00:00:24:00" out="00:00:27:00">to any language. You might be curious</subtitle>
++                <subtitle in="00:00:27:00" out="00:00:29:00">to know that this video was filmed in</subtitle>
++                <subtitle in="00:00:29:00" out="00:00:32:00">Toronto, Ontario. If you don’t know </subtitle>
++                <subtitle in="00:00:32:00" out="00:00:34:00">exactly where that is feel free to </subtitle>
++                <subtitle in="00:00:34:00" out="00:00:36:00">pause this video and investigate the</subtitle>
++                <subtitle in="00:00:36:00" out="00:00:39:00">map. Popcorn was built by five people,</subtitle>
++      <subtitle in="00:00:39:00" out="00:00:42:00">there they are. We collaborated with </subtitle>
++      <subtitle in="00:00:42:00" out="00:00:44:00">filmmakers and artists to ensure that</subtitle>
++      <subtitle in="00:00:44:00" out="00:00:47:00">popcorn is easy to use. Let me show</subtitle>
++      <subtitle in="00:00:47:00" out="00:00:49:00">you some other cool features. Keep in</subtitle>
++      <subtitle in="00:00:49:00" out="00:00:51:00">mind that you can have any feature </subtitle>
++      <subtitle in="00:00:51:00" out="00:00:54:00">appear and disappear at any time</subtitle>
++      <subtitle in="00:00:54:00" out="56.5">during the video. Popcorn makes it </subtitle>
++      <subtitle in="56.5" out="00:00:59:00">possible to pull data from twitter.</subtitle>
++      <subtitle in="00:00:59:00" out="00:01:01:00">Let’s see what people are saying </subtitle>
++      <subtitle in="00:01:01:00" out="00:01:02:00">about popcorn right now.</subtitle>
++      <subtitle in="00:01:03:00" out="00:01:04:00">You can also showcase your work </subtitle>
++      <subtitle in="00:01:04:00" out="00:01:07:00">by pulling data from a flicker account.</subtitle>
++      <subtitle in="00:01:07:00" out="00:01:09:00">Here are some pictures I posted.</subtitle>
++      <subtitle in="00:01:09:00" out="00:01:10:00">If you are not quite sure what</subtitle>
++      <subtitle in="00:01:10:00" out="00:01:12:00">Flicker is take a second to read</subtitle>
++      <subtitle in="00:01:12:00" out="00:01:15:00">about it on Wikipedia. To try</subtitle>
++      <subtitle in="00:01:15:00" out="00:01:17:00">out popcorn visit our homepage,</subtitle>
++      <subtitle in="00:01:17:00" >it is displayed just below me. </subtitle>
++        
++    </subtitles>
++    <subtitles language="en" target="translateinfofrench" languagesrc="language">
++                <subtitle in="00:00:19:00" out="00:00:22:00">some French subtitles. Popcorn uses</subtitle>
++                <subtitle in="00:00:22:00" out="00:00:24:00">Google Translate to translate subtitles</subtitle>
++                <subtitle in="00:00:24:00" out="00:00:27:00">to any language. You might be curious</subtitle>
++                <subtitle in="00:00:27:00" out="00:00:29:00">to know that this video was filmed in</subtitle>
++                <subtitle in="00:00:29:00" out="00:00:32:00">Toronto, Ontario. If you don’t know </subtitle>
++                <subtitle in="00:00:32:00" out="00:00:34:00">exactly where that is feel free to </subtitle>
++                <subtitle in="00:00:34:00" out="00:00:36:00">pause this video and investigate the</subtitle>
++                <subtitle in="00:00:36:00" out="00:00:39:00">map. Popcorn was built by five people,</subtitle>
++      <subtitle in="00:00:39:00" out="00:00:42:00">there they are. We collaborated with </subtitle>
++      <subtitle in="00:00:42:00" out="00:00:44:00">filmmakers and artists to ensure that</subtitle>
++      <subtitle in="00:00:44:00" out="00:00:47:00">popcorn is easy to use. Let me show</subtitle>
++      <subtitle in="00:00:47:00" out="00:00:49:00">you some other cool features. Keep in</subtitle>
++      <subtitle in="00:00:49:00" out="00:00:51:00">mind that you can have any feature </subtitle>
++      <subtitle in="00:00:51:00" out="00:00:54:00">appear and disappear at any time</subtitle>
++      <subtitle in="00:00:54:00" out="56.5">during the video. Popcorn makes it </subtitle>
++      <subtitle in="56.5" out="00:00:59:00">possible to pull data from twitter.</subtitle>
++      <subtitle in="00:00:59:00" out="00:01:01:00">Let’s see what people are saying </subtitle>
++      <subtitle in="00:01:01:00" out="00:01:02:00">about popcorn right now.</subtitle>
++      <subtitle in="00:01:03:00" out="00:01:04:00">You can also showcase your work </subtitle>
++      <subtitle in="00:01:04:00" out="00:01:07:00">by pulling data from a flicker account.</subtitle>
++      <subtitle in="00:01:07:00" out="00:01:09:00">Here are some pictures I posted.</subtitle>
++      <subtitle in="00:01:09:00" out="00:01:10:00">If you are not quite sure what</subtitle>
++      <subtitle in="00:01:10:00" out="00:01:12:00">Flicker is take a second to read</subtitle>
++      <subtitle in="00:01:12:00" out="00:01:15:00">about it on Wikipedia. To try</subtitle>
++      <subtitle in="00:01:15:00" out="00:01:17:00">out popcorn visit our homepage,</subtitle>
++      <subtitle in="00:01:17:00" >it is displayed just below me. </subtitle>
++    </subtitles>
++    <location in="00:00:29:00"  long="-79.403323" lat="43.665429" target="mapinfo" zoom="16"/>
++    <wiki in="00:01:12:00" out="00:01:15:00" src="http://en.wikipedia.org/wiki/Metadata" description="Metadata" numberOfWords="250" lang="en" target="wikiinfo"/>
++    <flickr in="00:01:06:00" out="00:01:10:00" target="flickrinfo" userid="54210095@N08" numberofimages="3" height="80" width="115" padding="8px"/>
++    <twitter in="00:00:59:00" out="00:01:05:00" title="&lt;b&gt;popcorn-js&lt;/b&gt;" source="popcorn-js" target="twitterinfo" width="400" height="120"/>
++    <image in="00:00:40:00" out="00:00:50:00" src="team.jpg" width="400"  target="imageinfo"/>
++    <webpage in="00:01:15:00" target="iframeinfo" width="920" height="200" src="http://webmademovies.org" description="WebMadeMovies"></webpage>
++    
++      </timeline>
++</popcorn>
index c7088f97797aad700bfb6beb9cebaa5f7cd134b2,c080a007a087cfb5975e9d7acb75a0bd89154ef1..76e7bd2673ea02a17e7aeb6395a71fa7065e7e76
@@@ -5,12 -5,26 +5,33 @@@
    <meta charset="UTF-8" />
    <script src="http://code.jquery.com/jquery.js"></script>
    <script src="http://google.com/jsapi"></script>
++<<<<<<< HEAD
 +  <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
++=======
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
    <script src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>google.load("language", "1");</script>
    <script>google.load("elements", "1", {packages : ["newsshow"]});</script>
    <script src="../../popcorn.js"></script>
  
++<<<<<<< HEAD
++=======
+   <script src="../../plugins/webpage/popcorn.webpage.js"></script>
+   <script src="../../plugins/googlemap/popcorn.googlemap.js"></script>
+   <script src="../../plugins/footnote/popcorn.footnote.js"></script>
+   <script src="../../plugins/twitter/popcorn.twitter.js"></script>
+   <script src="../../plugins/subtitle/popcorn.subtitle.js"></script>
+   <script src="../../plugins/googlenews/popcorn.googlenews.js"></script>
+   <script src="../../plugins/tagthisperson/popcorn.tagthisperson.js"></script>
+   <script src="../../plugins/wikipedia/popcorn.wikipedia.js"></script>
+   <script src="../../plugins/flickr/popcorn.flickr.js"></script>
+   <script src="../../plugins/attribution/popcorn.attribution.js"></script>
+ 
+ 
+ 
+   <script src="../../parsers/parserXML/popcorn.parseXML.js"></script>
+ 
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
      $(document).ready(function () {
                  </div>
                </div>
                  <script>
++<<<<<<< HEAD
 +
++=======
+ /*
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
                  ////////////////////////////////////////////////////////////////////////////
                  // Credits
                  ////////////////////////////////////////////////////////////////////////////
                              .animate({ 
                                  left: width + "px"
                              },750);
++<<<<<<< HEAD
 +                  };
 +              </script>
 +              <video width="530" height="299" data-timeline-sources="xml/webMadeMovies.xml" controls loop>
++=======
+                   };*/
+               </script>
+               <video id="webmademovies" width="530" height="299" data-timeline-sources="xml/webMadeMovies.xml" controls loop>
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
                  <source src="http://webmademovies.etherworks.ca/popcorndemo/wmmjuly6.ogv" type='video/ogg; codecs="theora, vorbis"'>
                  <source src="http://webmademovies.etherworks.ca/popcorndemo/wmmjuly6.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
                </video>
                <div id="overlaydiv" style="position:absolute;top:1px;left:1px"></div>
                <script>
++<<<<<<< HEAD
 +                overlayDiv = document.getElementById("overlaydiv");
++=======
+                 /*overlayDiv = document.getElementById("overlaydiv");
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
                  var createImage = function(src) {
                    var image = document.createElement('img');
                    image.setAttribute('src', src);
                        };
                      }
                    }
++<<<<<<< HEAD
 +                };
++=======
+                 };*/
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
                </script>
                <!-- Start Video Info -->
                <div class="video-info">
                  </h3>
                  <div id="googlenewsdiv"><div class="overlay"></div><div class="inactive"></div></div>
                </section>
++<<<<<<< HEAD
 +                        <section>
 +                <h3><img src="images/logo_lastfm.png" alt="Lastfm" width="80" height="24" /></h3>
 +                <a href="#" class="collapse"><span>Collapse</span></a>
 +                <div class="content" id="lastfmdiv"><div class="overlay"></div><div class="inactive"></div></div>
 +              </section>
++=======
+             <!--<section>
+                 <h3><img src="images/logo_lastfm.png" alt="Lastfm" width="80" height="24" /></h3>
+                 <a href="#" class="collapse"><span>Collapse</span></a>
+                 <div class="content" id="lastfmdiv"><div class="overlay"></div><div class="inactive"></div></div>
+               </section>-->
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
              </div>
              <!-- End Column B -->
              <h1><span>This video's copyright information</span></h1>
index 17b8daed406bae15ae442cfdf06bd0c113b8b088,0616d8d321d9ce0348b656e5a527e78fd6e1fdc2..f2eabc007ffb4cb376e9e865f038aa8ef2a29492
        <attribution id="attrib" nameofwork="A Shared Culture" copyrightholder="Jesse Dylan" license="CC-BY-NC" licenseurl="http://creativecommons.org/licenses/by-nc/2.0/"/>
        <attribution id="villagetelcoattrib" nameofwork="Village Telco" copyrightholder="Richard Mills" license="CC-BY-NC" licenseurl="http://creativecommons.org/licenses/by-nc/2.0/"/>
        <attribution id="prodigyattrib" nameofwork="Prodigy Commercial" nameofworkurl="http://www.youtube.com/watch?v=TSlb7-FJr3k" />
++<<<<<<< HEAD
 +      <attribution id="compuserveattrib" nameofwork="1991 Compuserve Internet" nameworkurl="http://www.youtube.com/watch?v=TSlb7-FJr3k" />
 +      <attribution id="aolattrib" nameofwork="1996 AOL Commercial" nameworkurl="http://www.youtube.com/watch?v=0kf1DBg5vJs" />
 +      <attribution id="chronicles1attrib" nameofwork="Internet" nameworkurl="http://www.archive.org/details/CC1232_internet" copyrightholder="The Computer Chronicles" license="CC-BY-NC-ND" licenseurl="http://creativecommons.org/licenses/by-nc-nd/2.0/" />
 +      <attribution id="chronicles2attrib" nameofwork="The Internet" nameworkurl="http://www.archive.org/details/episode_1134" copyrightholder="The Computer Chronicles" license="CC-BY-NC-ND" licenseurl="http://creativecommons.org/licenses/by-nc-nd/2.0/" />
 +      <attribution id="bankattrib" nameofwork="Using the Bank (1947)" nameworkurl="http://www.archive.org/details/Usingthe1947" copyrightholder="The Prelinger Archives" />
++=======
+       <attribution id="compuserveattrib" nameofwork="1991 Compuserve Internet" nameofworkurl="http://www.youtube.com/watch?v=TSlb7-FJr3k" />
+       <attribution id="aolattrib" nameofwork="1996 AOL Commercial" nameofworkurl="http://www.youtube.com/watch?v=0kf1DBg5vJs" />
+       <attribution id="chronicles1attrib" nameofwork="Internet" nameofworkurl="http://www.archive.org/details/CC1232_internet" copyrightholder="The Computer Chronicles" license="CC-BY-NC-ND" licenseurl="http://creativecommons.org/licenses/by-nc-nd/2.0/" />
+       <attribution id="chronicles2attrib" nameofwork="The Internet" nameofworkurl="http://www.archive.org/details/episode_1134" copyrightholder="The Computer Chronicles" license="CC-BY-NC-ND" licenseurl="http://creativecommons.org/licenses/by-nc-nd/2.0/" />
+       <attribution id="bankattrib" nameofwork="Using the Bank (1947)" nameofworkurl="http://www.archive.org/details/Usingthe1947" copyrightholder="The Prelinger Archives" />
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
        <attribution id="networksattrib" nameofwork="Computer Networks - The Heralds of Resource Sharing" nameofworkurl="http://video.google.com/videoplay?docid=4989933629762859961#" copyrightholder="MIT"/>
      </attributions>
      <articles>
      </footnotes>
      <resources>
        <footnote in="00:00:00" out="00:15:00" target="footnotediv">This video made exclusively for drumbeat.org </footnote>
++<<<<<<< HEAD
 +      <videotag target="inthisvideo" in="00:00:05:02" out="00:00:10:07">Steve Song</videotag>
 +      <attribution in="00:00:05:02" out="00:00:10:07" target="container5" resourceid="villagetelcoattrib"></attribution>
 +      <twitter in="00:00:05:02" out="00:00:10:07" title="Steve Song" source="from:stevesong" target="personaltwitter" width="238" height="120"/>
 +      <wiki in="00:00:05:02" out="00:00:10:07" resourceid="villagetelco" numberOfWords="200" lang="en" target="wikidiv"/>
 +      <flickr in="00:00:05:02" out="00:00:10:07" target="personalflickr" userid="78868639@N00" numberofimages="8" padding="4px"/>
 +      <googlenews in="00:00:05:02" out="00:00:10:07" target="googlenewsdiv" topic="Village Telco"/>
 +
 +      <twitter in="00:00:10:07" out="00:00:18:04" title="Oil Spill" source="#oilspill" target="twitter" width="238" height="120"/>
 +      <googlenews in="00:00:10:07" out="00:00:18:04" target="googlenewsdiv" topic="Oil Spill"/>
 +      <attribution in="00:00:10:07" out="00:00:18:04" target="container5">Grassroots Mapping, Tungsten Monkey</attribution>
 +
 +      <videotag target="inthisvideo" in="00:00:18:04" out="00:00:25:02">Keyboard Cat</videotag>
 +      <twitter in="00:00:18:04" out="00:00:25:02" title="Keyboard Cat" source="#keyboardcat" target="twitter" width="238" height="120"/>
 +      <attribution in="00:00:18:04" out="00:00:25:02" target="container5">KeyBoard Cat, Charlie Schmidt</attribution>
 +      <googlenews in="00:00:18:04" out="00:00:25:02" target="googlenewsdiv" topic="Keyboard Cat"/>
 +
 +      <videotag target="inthisvideo" in="00:00:28:09" out="00:00:29:07">Jeffrey Warren</videotag>
 +      <attribution in="00:00:28:09" out="00:00:29:07" target="container5">Grassroots Mapping, Tungsten Monkey</attribution>
 +      <videotag target="inthisvideo" in="00:00:29:08" out="00:00:31:00">Village Telco Guy</videotag>
 +
 +      <wiki in="00:00:32:00" out="00:00:41:00" resourceid="theinternet" numberOfWords="200" target="wikidiv"/>
 +      <googlenews in="00:00:32:00" out="00:00:41:00" target="googlenewsdiv" topic="the internet"/>
 +
 +      <videotag target="inthisvideo" in="00:00:41:00" out="00:01:07:09">Jeffrey Warren</videotag>
 +      <flickr in="00:00:41:00" out="00:01:07:09" target="personalflickr" userid="35034346917@N01" numberofimages="8" padding="4px"/>
 +      <twitter in="00:00:41:00" out="00:01:07:09" title="Oil Spill" source="#oilspill" target="twitter" width="238" height="120"/>
 +      <googlenews in="00:00:41:00" out="00:01:07:09" target="googlenewsdiv" topic="Oil Spill"/>
 +      <location resourceid="grandislewiki" in="00:00:41:00" out="00:01:07:09" lat="29.2720" long="-90.0233 " target="container2" zoom="8"/>
 +      <wiki in="00:00:41:00" out="00:01:07:09" resourceid="oilspill" numberOfWords="200" target="wikidiv"/>
 +      <footnote in="00:00:41:00" out="00:01:07:09" target="footnotediv">Learn more about Grass Roots mapping at www.grassrootsmapping.org</footnote>
 +      <twitter in="00:01:07:10" out="00:01:25:07" title="Steve Song" source="from:stevesong" target="personaltwitter" width="238" height="120"/>
 +      <flickr in="00:01:07:10" out="00:01:25:07" target="personalflickr" userid="78868639@N00" numberofimages="8" padding="4px"/>
 +      <location id="CapeTown" resourceid="capetownwiki" in="00:01:07:10" out="00:01:32:07" lat="-33.9238" long="18.4233" target="container2" zoom="8"/>
 +      <wiki in="00:01:07:10" out="00:01:32:07" resourceid="villagetelco" numberOfWords="200" target="wikidiv"/>
 +      <videotag target="inthisvideo" in="00:01:25:08" out="00:01:32:07">Michael Adeyeye</videotag>
 +
 +      <videotag target="inthisvideo" in="00:01:32:08" out="00:01:38:02">Charlie Schmidt</videotag>
 +      <twitter in="00:01:32:08" out="00:01:57:11" title="Charlie Schmidt" source="from:chuckieart" target="personaltwitter" width="238" height="120"/>
 +      <location id="MITMediaLab" resourceid="mitmedialabhome" in="00:01:32:08" out="00:01:57:11" lat="42.3613" long="-71.0863" target="container2" zoom="12"/>
 +      <videotag target="inthisvideo" in="00:01:38:02" out="00:01:41:10">Keyboard Cat</videotag>
 +      <videotag target="inthisvideo" in="00:01:41:11" out="00:01:57:11">Charlie Schmidt</videotag>
 +
 +      <videotag target="inthisvideo" in="00:02:09:00" out="00:03:07:05">Jonathan Zittrain</videotag>
 +      <twitter in="00:02:09:00" out="00:03:07:05" title="Jonathan Zittrain" source="from:zittrain" target="personaltwitter" width="238" height="120"/>
 +      <location resourceid="harvardlawhome" in="00:02:09:00" out="00:03:07:05" lat="42.4222" long="-88.6137" target="container2" zoom="12"/>
 +      <wiki in="00:02:09:00" out="00:02:20:00" resourceid="zittrain" numberOfWords="200" target="wikidiv"/>
 +      <wiki in="00:02:20:01" out="00:02:23:00" resourceid="compuserve" numberOfWords="200" target="wikidiv"/>
 +      <wiki in="00:02:23:01" out="00:02:26:00" resourceid="aol" numberOfWords="200" target="wikidiv"/>
 +      <wiki in="00:02:26:01" out="00:02:33:00" resourceid="prodigy" numberOfWords="200" target="wikidiv"/>
++=======
+       <tagthisperson target="inthisvideo" in="00:00:05:02" out="00:00:10:07" person="Steve Song" />
+       <attribution in="00:00:05:02" out="00:00:10:07" target="container5" resourceid="villagetelcoattrib"></attribution>
+       <twitter in="00:00:05:02" out="00:00:10:07" title="Steve Song" src="@stevesong" target="personaltwitter" width="238" height="120"/>
+       <wikipedia in="00:00:05:02" out="00:00:10:07" resourceid="villagetelco" numberofwords="200" lang="en" target="wikidiv"/>
+       <flickr in="00:00:05:02" out="00:00:10:07" target="personalflickr" userid="78868639@N00" numberofimages="8" padding="4px"/>
+       <googlenews in="00:00:05:02" out="00:00:10:07" target="googlenewsdiv" topic="Village Telco"/>
+ 
+       <twitter in="00:00:10:07" out="00:00:18:04" title="Oil Spill" src="#oilspill" target="twitter" width="238" height="120"/>
+       <googlenews in="00:00:10:07" out="00:00:18:04" target="googlenewsdiv" topic="Oil Spill"/>
+       <attribution in="00:00:10:07" out="00:00:18:04" target="container5">Grassroots Mapping, Tungsten Monkey</attribution>
+ 
+       <tagthisperson target="inthisvideo" in="00:00:18:04" out="00:00:25:02" person="Keyboard Cat"/>
+       <twitter in="00:00:18:04" out="00:00:25:02" title="Keyboard Cat" src="#keyboardcat" target="twitter" width="238" height="120"/>
+       <attribution in="00:00:18:04" out="00:00:25:02" target="container5">KeyBoard Cat, Charlie Schmidt</attribution>
+       <googlenews in="00:00:18:04" out="00:00:25:02" target="googlenewsdiv" topic="Keyboard Cat"/>
+ 
+       <tagthisperson target="inthisvideo" in="00:00:28:09" out="00:00:29:07" person="Jeffrey Warren" />
+       <attribution in="00:00:28:09" out="00:00:29:07" target="container5">Grassroots Mapping, Tungsten Monkey</attribution>
+       <tagthisperson target="inthisvideo" in="00:00:29:08" out="00:00:31:00" person="Village Telco Guy" />
+ 
+       <wikipedia in="00:00:32:00" out="00:00:41:00" resourceid="theinternet" numberofwords="200" target="wikidiv"/>
+       <googlenews in="00:00:32:00" out="00:00:41:00" target="googlenewsdiv" topic="the internet"/>
+ 
+       <tagthisperson target="inthisvideo" in="00:00:41:00" out="00:01:07:09" person="Jeffrey Warren" />
+       <flickr in="00:00:41:00" out="00:01:07:09" target="personalflickr" userid="35034346917@N01" numberofimages="8" padding="4px"/>
+       <twitter in="00:00:41:00" out="00:01:07:09" title="Oil Spill" src="#oilspill" target="twitter" width="238" height="120"/>
+       <googlenews in="00:00:41:00" out="00:01:07:09" target="googlenewsdiv" topic="Oil Spill"/>
+       <googlemap resourceid="grandislewiki" in="00:00:41:00" out="00:01:07:09" lat="29.2720" long="-90.0233 " target="container2" zoom="8"/>
+       <wikipedia in="00:00:41:00" out="00:01:07:09" resourceid="oilspill" numberofwords="200" target="wikidiv"/>
+       <footnote in="00:00:41:00" out="00:01:07:09" target="footnotediv">Learn more about Grass Roots mapping at www.grassrootsmapping.org</footnote>
+       <twitter in="00:01:07:10" out="00:01:25:07" title="Steve Song" src="@stevesong" target="personaltwitter" width="238" height="120"/>
+       <flickr in="00:01:07:10" out="00:01:25:07" target="personalflickr" userid="78868639@N00" numberofimages="8" padding="4px"/>
+       <googlemap id="CapeTown" resourceid="capetownwiki" in="00:01:07:10" out="00:01:32:07" lat="-33.9238" long="18.4233" target="container2" zoom="8"/>
+       <wikipedia in="00:01:07:10" out="00:01:32:07" resourceid="villagetelco" numberofwords="200" target="wikidiv"/>
+       <tagthisperson target="inthisvideo" in="00:01:25:08" out="00:01:32:07" person="Michael Adeyeye" />
+ 
+       <tagthisperson target="inthisvideo" in="00:01:32:08" out="00:01:38:02" person="Charlie Schmidt" />
+       <twitter in="00:01:32:08" out="00:01:57:11" title="Charlie Schmidt" src="@chuckieart" target="personaltwitter" width="238" height="120"/>
+       <googlemap id="MITMediaLab" resourceid="mitmedialabhome" in="00:01:32:08" out="00:01:57:11" lat="42.3613" long="-71.0863" target="container2" zoom="12"/>
+       <tagthisperson target="inthisvideo" in="00:01:38:02" out="00:01:41:10" person="Keyboard Cat" />
+       <tagthisperson target="inthisvideo" in="00:01:41:11" out="00:01:57:11" person="Charlie Schmidt" />
+ 
+       <tagthisperson target="inthisvideo" in="00:02:09:00" out="00:03:07:05" person="Jonathan Zittrain" />
+       <twitter in="00:02:09:00" out="00:03:07:05" title="Jonathan Zittrain" source="@zittrain" target="personaltwitter" width="238" height="120"/>
+       <googlemap resourceid="harvardlawhome" in="00:02:09:00" out="00:03:07:05" lat="42.4222" long="-88.6137" target="container2" zoom="12"/>
+       <wikipedia in="00:02:09:00" out="00:02:20:00" resourceid="zittrain" numberofwords="200" target="wikidiv"/>
+       <wikipedia in="00:02:20:01" out="00:02:23:00" resourceid="compuserve" numberofwords="200" target="wikidiv"/>
+       <wikipedia in="00:02:23:01" out="00:02:26:00" resourceid="aol" numberofwords="200" target="wikidiv"/>
+       <wikipedia in="00:02:26:01" out="00:02:33:00" resourceid="prodigy" numberofwords="200" target="wikidiv"/>
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
  
        <attribution in="00:02:15:09" out="00:02:17:00" target="container5" resourceid="compuserveattrib"></attribution>
        <attribution in="00:02:17:01" out="00:02:20:00" target="container5" resourceid="aolattrib"></attribution>
        <attribution in="00:02:47:01" out="00:02:55:00" target="container5" resourceid="bankattrib"></attribution>
        <attribution in="00:03:07:10" out="00:03:29:00" target="container5" resourceid="bankattrib"></attribution>
  
++<<<<<<< HEAD
 +      <wiki in="00:02:41:00" out="00:02:57:00" resourceid="internetprotocol" numberOfWords="200" target="wikidiv"/>
 +      <wiki in="00:02:57:01" out="00:03:03:00" resourceid="timbernerslee" numberOfWords="200" target="wikidiv"/>
 +      <twitter in="00:02:57:01" out="00:03:03:00" title="Tim Berners-Lee" source="from:timberners_lee" target="twitter" width="238" height="120"/>
 +
 +      <googlenews in="00:02:57:01" out="00:03:03:00" target="googlenewsdiv" topic="Tim Berners-Lee"/>
 +
 +      <wiki in="00:03:03:01" out="00:03:28:00" resourceid="worldwideweb" numberOfWords="200" target="wikidiv"/>
 +      <googlenews in="00:03:03:01" out="00:03:28:00" target="googlenewsdiv" topic="World Wide Web"/>
 +
 +      <googlenews in="00:03:28:00" out="00:03:32:00" target="googlenewsdiv" topic="Wikipedia"/>
 +      <wiki in="00:03:28:01" out="00:03:32:00" resourceid="wikipedia" numberOfWords="200" target="wikidiv"/>
 +
 +      <wiki in="00:03:36:00" out="00:03:43:00" resourceid="openstandards" numberOfWords="200" target="wikidiv"/>
 +
 +      <videotag target="inthisvideo" in="00:03:09:00" out="00:03:16:00">NCSA guy</videotag>
 +      <videotag target="inthisvideo" in="00:03:16:01" out="00:03:18:05">Computer Chronicles guy #1</videotag>
 +      <videotag target="inthisvideo" in="00:03:16:02" out="00:03:21:00">Computer Chronicles guy #2</videotag>
 +      <videotag target="inthisvideo" in="00:03:21:01" out="00:03:28:06">Computer Chronicles guy #3</videotag>
 +
 +      <videotag target="inthisvideo" in="00:03:43:00" out="00:03:56:00">Jonathan Zittrain</videotag>
 +      <twitter in="00:03:43:00" out="00:03:56:00" title="Jonathan Zittrain" source="from:zittrain" target="personaltwitter" width="238" height="120"/>
 +      <footnote in="00:03:43:00" out="00:03:57:00" target="footnotediv">Read Zittrain's book 'The Future of the Internet — And How to Stop It'</footnote>
 +
 +      <videotag target="inthisvideo" in="00:03:59:00" out="00:04:03:05">Mona Kasra</videotag>
 +      <videotag target="inthisvideo" in="00:04:03:06" out="00:04:07:00">Noah Workman</videotag>
 +      <twitter in="00:04:03:06" out="00:04:07:00" title="Noah Workman" source="from:noahworkman" target="personaltwitter" width="238" height="120"/>
 +      <videotag target="inthisvideo" in="00:04:03:06" out="00:04:13:01">Wilken Sanches</videotag>
 +      <attribution in="00:04:10:00" out="00:04:13:00" target="container5" resourceid="attrib"></attribution>
 +      <videotag target="inthisvideo" in="00:04:13:02" out="00:04:19:05">Keechang Kim</videotag>
 +      <twitter in="00:04:19:06" out="00:04:24:01" title="Celine Celines" source="from:celinecelines" target="personaltwitter" width="238" height="120"/>
 +      <videotag target="inthisvideo" in="00:04:19:06" out="00:04:24:01">Celine Celines</videotag>
 +      <flickr in="00:04:19:06" out="00:04:24:01" target="personalflickr" userid="13072070@N00" numberofimages="8" padding="4px"/>
 +      <lastfm in="00:40:00" out="01:24:00" artist="yacht" target="lastfmdiv"/>
++=======
+       <wikipedia in="00:02:41:00" out="00:02:57:00" resourceid="internetprotocol" numberofwords="200" target="wikidiv"/>
+       <wikipedia in="00:02:57:01" out="00:03:03:00" resourceid="timbernerslee" numberofwords="200" target="wikidiv"/>
+       <twitter in="00:02:57:01" out="00:03:03:00" title="Tim Berners-Lee" src="@timberners_lee" target="twitter" width="238" height="120"/>
+ 
+       <googlenews in="00:02:57:01" out="00:03:03:00" target="googlenewsdiv" topic="Tim Berners-Lee"/>
+ 
+       <wikipedia in="00:03:03:01" out="00:03:28:00" resourceid="worldwideweb" numberofwords="200" target="wikidiv"/>
+       <googlenews in="00:03:03:01" out="00:03:28:00" target="googlenewsdiv" topic="World Wide Web"/>
+ 
+       <googlenews in="00:03:28:00" out="00:03:32:00" target="googlenewsdiv" topic="Wikipedia"/>
+       <wikipedia in="00:03:28:01" out="00:03:32:00" resourceid="wikipedia" numberofwords="200" target="wikidiv"/>
+ 
+       <wikipedia in="00:03:36:00" out="00:03:43:00" resourceid="openstandards" numberofwords="200" target="wikidiv"/>
+ 
+       <tagthisperson target="inthisvideo" in="00:03:09:00" out="00:03:16:00" person="NCSA guy" />
+       <tagthisperson target="inthisvideo" in="00:03:16:01" out="00:03:18:05" person="Computer Chronicles guy #1" />
+       <tagthisperson target="inthisvideo" in="00:03:16:02" out="00:03:21:00" person="Computer Chronicles guy #2" />
+       <tagthisperson target="inthisvideo" in="00:03:21:01" out="00:03:28:06" person="Computer Chronicles guy #3" />
+ 
+       <tagthisperson target="inthisvideo" in="00:03:43:00" out="00:03:56:00" person="Jonathan Zittrain" />
+       <twitter in="00:03:43:00" out="00:03:56:00" title="Jonathan Zittrain" src="@zittrain" target="personaltwitter" width="238" height="120"/>
+       <footnote in="00:03:43:00" out="00:03:57:00" target="footnotediv">Read Zittrain's book 'The Future of the Internet — And How to Stop It'</footnote>
+ 
+       <tagthisperson target="inthisvideo" in="00:03:59:00" out="00:04:03:05" person="Mona Kasra" />
+       <tagthisperson target="inthisvideo" in="00:04:03:06" out="00:04:07:00" person="Noah Workman" />
+       <twitter in="00:04:03:06" out="00:04:07:00" title="Noah Workman" src="@noahworkman" target="personaltwitter" width="238" height="120"/>
+       <tagthisperson target="inthisvideo" in="00:04:03:06" out="00:04:13:01" person="Wilken Sanches" />
+       <attribution in="00:04:10:00" out="00:04:13:00" target="container5" resourceid="attrib"></attribution>
+       <tagthisperson target="inthisvideo" in="00:04:13:02" out="00:04:19:05" person="Keechang Kim" />
+       <twitter in="00:04:19:06" out="00:04:24:01" title="Celine Celines" src="from:celinecelines" target="personaltwitter" width="238" height="120"/>
+       <tagthisperson target="inthisvideo" in="00:04:19:06" out="00:04:24:01" person="Celine Celines" />
+       <flickr in="00:04:19:06" out="00:04:24:01" target="personalflickr" userid="13072070@N00" numberofimages="8" padding="4px"/>
+       <!--<lastfm in="00:40:00" out="01:24:00" artist="yacht" target="lastfmdiv"/>-->
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
          
      </resources>
  
      <map>
++<<<<<<< HEAD
 +      <location resourceid="capetownwiki" in="00:00:03:00" out="00:00:11:07" lat="-33.9238" long="18.4233" target="container2" zoom="8"/>
 +      <location resourceid="grandislewiki" in="00:00:11:07" out="00:00:19:07" lat="29.2720" long="-90.0233 " target="container2" zoom="8"/>
 +      <location resourceid="mitmedialabhome" in="00:00:19:08" out="00:00:27:00" lat="42.3613" long="-71.0863" target="container2" zoom="12"/>
 +
 +      <location resourceid="austinwiki" in="00:03:59:00" out="00:04:03:05" lat="45.5089" long="-73.5542" target="container2" zoom="8"/>
 +      <location resourceid="newyorkwiki" in="00:04:03:06" out="00:04:07:01" lat="40.7143" long="-74.0060" target="container2" zoom="8"/>
 +      <location resourceid="saopaulowiki" in="00:04:07:02" out="00:04:13:01" lat="-23.5489" long="-46.6388 " target="container2" zoom="8"/>
 +      <location resourceid="seoulwiki" in="00:04:13:02" out="00:04:19:05" lat="37.5665" long="126.9780" target="container2" zoom="8"/>
 +      <location resourceid="montrealwiki" in="00:04:19:06" out="00:04:24:01" lat="45.5089" long="-73.5542 " target="container2" zoom="8"/>
++=======
+       <googlemap resourceid="capetownwiki" in="00:00:03:00" out="00:00:11:07" lat="-33.9238" long="18.4233" target="container2" zoom="8"/>
+       <googlemap resourceid="grandislewiki" in="00:00:11:07" out="00:00:19:07" lat="29.2720" long="-90.0233" target="container2" zoom="8"/>
+       <googlemap resourceid="mitmedialabhome" in="00:00:19:08" out="00:00:27:00" lat="42.3613" long="-71.0863" target="container2" zoom="12"/>
+ 
+       <googlemap resourceid="austinwiki" in="00:03:59:00" out="00:04:03:05" lat="45.5089" long="-73.5542" target="container2" zoom="8"/>
+       <googlemap resourceid="newyorkwiki" in="00:04:03:06" out="00:04:07:01" lat="40.7143" long="-74.0060" target="container2" zoom="8"/>
+       <googlemap resourceid="saopaulowiki" in="00:04:07:02" out="00:04:13:01" lat="-23.5489" long="-46.6388 " target="container2" zoom="8"/>
+       <googlemap resourceid="seoulwiki" in="00:04:13:02" out="00:04:19:05" lat="37.5665" long="126.9780" target="container2" zoom="8"/>
+       <googlemap resourceid="montrealwiki" in="00:04:19:06" out="00:04:24:01" lat="45.5089" long="-73.5542 " target="container2" zoom="8"/>
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
      </map>
  
      <subtitles languagesrc="language" accessibilitysrc="accessibility">
        <webpage in="00:04:00:08" out="00:04:19:00" target="iframes" resourceid="monahomepage" width="100"/>
        <webpage in="00:04:19:06" out="00:04:24:01" target="iframes" resourceid="celinehomepage" width="100"/>
      </webpages>
++<<<<<<< HEAD
 +    <script in="4:45:00" start="displayCredits" stop="removeCredits"/>
++=======
+     <!--<script in="4:45:00" start="displayCredits" stop="removeCredits"/>-->
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
    </timeline>
  </popcorn>
diff --cc popcorn.js
index ac7a27e143c07d680a88bbf5ddc0dfe338127826,48123cf92be926390025be1b840fb1553bf28445..0649447df5822f71541caafa6bd2bacf907884da
++<<<<<<< HEAD
 +/*global google: false, $: false, TWTR: false, jQuery: false*/ // This global comment is read by jslint
 +
 +(function() {
 +  function getScript(url, test, success) {
 +    if (test === 'undefined') {
 +      var script = document.createElement('script');
 +      script.src = url;
 +      var head = document.getElementsByTagName('head')[0],
 +        done = false;
 +      script.onload = script.onreadystatechange = function () {
 +        if (!done && (!this.readyState || this.readyState === 'loaded' || this.readyState === 'complete')) {
 +          done = true;
 +          success();
 +        }
 +      };
 +      head.appendChild(script);
 +    } else {
 +      success();
 +    }
 +  }
 +
 +  var popcorn = this.popcorn = {};
 +
 +  // The video manager manages a single video element, and all it's commands.
 +  popcorn.VideoManager = function(videoElement) {
 +    this.commandObjects  = {};
 +    this.manifestObjects = {};
 +    this.videoElement = videoElement;
 +    videoElement.videoManager = this;
 +    popcorn.addInstance(this);
 +    videoElement.setAttribute("ontimeupdate", "popcorn.update(this);"); 
 +  };
 +
 +  popcorn.VideoManager.prototype.addCommand = function(command) {
 +    this.commandObjects[command.id] = command;
 +  };
 +
 +  popcorn.VideoManager.prototype.removeCommand = function(command) {
 +    delete this.commandObjects[command.id];
 +  };
 +
 +  popcorn.VideoManager.prototype.addManifestObject = function(manifestAttributes) {
 +    var manifest = {},
 +        manifestId = "";
 +    for (var i = 0, pl = manifestAttributes.length; i < pl; i++) {
 +      for (var j = 0, nl = manifestAttributes[i].length; j < nl; j++) {
 +        var key = manifestAttributes[i].item(j).nodeName,
 +            data = manifestAttributes[i].item(j).nodeValue;
 +        if (key === "id") {
 +          manifestId = data;
 +        } else {
 +          manifest[key] = data;
 +        }
 +      }
 +    }
 +    this.manifestObjects[manifestId] = manifest;
 +  };
 +
 +  popcorn.VideoManager.prototype.removeManifestObject = function(itemId) {
 +    delete this.manifestObjects[itemId];
 +  };
 +
 +  popcorn.VideoManager.prototype.loaded = function() {};
 +  
 +  var inactiveTarget = {};
 +  
 +  // Update is called on the video every time it's time changes.
 +  popcorn.update = function(vid) {
 +    var t = vid.currentTime,
 +        commandObject = {}; // Loops through all commands in the manager, preloading data, and calling onIn() or onOut().
 +    for (var i in vid.videoManager.commandObjects) {
 +      if (vid.videoManager.commandObjects.hasOwnProperty(i)) {
 +        commandObject = vid.videoManager.commandObjects[i];
 +        if (commandObject.running && (commandObject.params["in"] > t || commandObject.params["out"] < t)) {
 +          commandObject.running = false;
 +          if (inactiveTarget[commandObject.params.target] <= 0 || --inactiveTarget[commandObject.params.target] <= 0) {
 +            $("#" + commandObject.params.target + " .inactive").fadeIn(500);
 +          }
 +          commandObject.onOut();
 +          commandObject.extension.onOut();
 +        }
 +      }
 +    }
 +    for (var j in vid.videoManager.commandObjects) {
 +      if (vid.videoManager.commandObjects.hasOwnProperty(j)) {
 +        commandObject = vid.videoManager.commandObjects[j];
 +        if (!commandObject.loaded && (commandObject.params["in"] - 5) < t && commandObject.params["out"] > t) {
 +          commandObject.loaded = true;
 +          commandObject.preload();
 +        }
 +        if (!commandObject.running && commandObject.params["in"] < t && commandObject.params["out"] > t) {
 +          commandObject.running = true;
 +          
 +          $("#" + commandObject.params.target + " .inactive").hide();
 +          inactiveTarget[commandObject.params.target]++;
 +
 +          if (commandObject.params.target) {
 +            $("#" + commandObject.params.target + " .overlay").show().fadeOut(500);
 +          }
 +          if (typeof commandObject.flash === "undefined") {
 +             var section = $(commandObject.target).parents('section');
 +             if (!section.hasClass('hover')) {
 +                section.addClass('hover');    
 +                section.attr('hoveron', $('video')[0].currentTime);
 +             }
 +          }
 +          commandObject.onIn();
 +          commandObject.extension.onIn();
 +        }
 +      }
 +    }
 +  };
 +
 +  // Store VideoManager instances
 +  popcorn.instances = [];
 +  popcorn.instanceIds = {};
 +  popcorn.addInstance = function(manager) {
 +    if (typeof manager.videoElement.id === 'undefined' || !manager.videoElement.id.length) {
 +      manager.videoElement.id = "__video" + popcorn.instances.length;
 +    }
 +    popcorn.instanceIds[manager.videoElement.id] = popcorn.instances.length;
 +    popcorn.instances.push(manager);
 +  };
 +
 +  popcorn.getInstanceById = function(name) {
 +    return popcorn.instances[popcorn.instanceIds[name]];
 +  };
 +
 +  popcorn.getInstance = function(index) {
 +    return popcorn.instances[index];
 +  };
 +  
 +  // Simple function to convert 0:05 to 0.5 in seconds
 +  // acceptable formats are HH:MM:SS:MM, MM:SS:MM, SS:MM, SS
 +  var toSeconds = function(time) {
 +    var t = time.split(":");
 +    if (t.length === 1) {
 +      return parseFloat(t[0], 10);
 +    } else if (t.length === 2) {
 +      return parseFloat(t[0], 10) + parseFloat(t[1] / 12, 10);
 +    } else if (t.length === 3) {
 +      return parseInt(t[0] * 60, 10) + parseFloat(t[1], 10) + parseFloat(t[2] / 12, 10);
 +    } else if (t.length === 4) {
 +      return parseInt(t[0] * 3600, 10) + parseInt(t[1] * 60, 10) + parseFloat(t[2], 10) + parseFloat(t[3] / 12, 10);
 +    }
 +  };
 +
 +  var offset = function(elem) {
 +    if(!elem) elem = this;
 +
 +    var x = elem.offsetLeft;
 +    var y = elem.offsetTop;
 +
 +    while (elem = elem.offsetParent) {
 +      x += elem.offsetLeft;
 +      y += elem.offsetTop;
 +    }
 +
 +    return { left: x, top: y };
 +  }
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Command objects
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  // Base class for all commands, SubtitleCommand, MapCommand, etc.
 +  popcorn.VideoCommand = function(name, params, text, videoManager) {
 +    this.name = name;
 +    this.params = {};
 +    this.text = text;
 +    this.videoManager = videoManager;
 +    this.running = false;
 +    this.loaded = false;
 +    this.onIn = function() {};
 +    this.onOut = function() {};
 +    this.preload = function() {};
 +    this.extension = {
 +      onIn: function() {},
 +      onOut: function() {}
 +    };
 +    this.id = name + popcorn.VideoCommand.count++;
 +    this.params["in"] = "0";
 +    this.params["out"] = this.videoManager.videoElement.duration;
 +
 +    // Adds all attributes from the xml/json tag into this.params
 +    for (var i = 0, pl = params.length; i < pl; i++) {
 +      for (var j = 0, nl = params[i].length; j < nl; j++) {
 +        var key = params[i].item(j).nodeName,
 +            data = params[i].item(j).nodeValue;
 +        if (key === "start_time") {
 +          key = "in";
 +        } else if (key === "end_time") {
 +          key = "out";
 +        }
 +        if (key === "in" || key === "out") {
 +          this.params[key] = (typeof data === "number" ? data : toSeconds(data));
 +        } else {
 +          this.params[key] = data;
 +        }
 +      }
 +    }
 +
 +    // Checkes for a resourceid and gets all the attributes from that resource
 +    if (this.params.resourceid) {
 +      for (var attributeName in this.videoManager.manifestObjects[this.params.resourceid]) {
 +        if (this.videoManager.manifestObjects[this.params.resourceid].hasOwnProperty(attributeName)) {
 +          this.params[attributeName] = this.videoManager.manifestObjects[this.params.resourceid][attributeName];
 +        }
 +      }
 +    }
 +
 +    if (!inactiveTarget[this.params.target]) {
 +      inactiveTarget[this.params.target] = 0;
 +    }
 +  };
 +  popcorn.VideoCommand.count = 0;
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Subtitle Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  // Child commands. Uses onIn() and onOut() to do time based operations
 +  popcorn.SubtitleCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +
 +    // Creates a div for all subtitles to use
 +    if (!popcorn.SubtitleCommand.subDiv) {
 +      popcorn.SubtitleCommand.subDiv = document.createElement('div');
 +      popcorn.SubtitleCommand.subDiv.style.position = "absolute";
 +      popcorn.SubtitleCommand.subDiv.style.color = "white";
 +      popcorn.SubtitleCommand.subDiv.style.textShadow = "black 2px 2px 6px";
 +      popcorn.SubtitleCommand.subDiv.style.fontSize = "18px";
 +      popcorn.SubtitleCommand.subDiv.style.fontWeight = "bold";
 +      popcorn.SubtitleCommand.subDiv.style.textAlign = "center";
 +
 +      this.videoManager.videoElement.parentNode.appendChild(popcorn.SubtitleCommand.subDiv);
 +    }
 +    if (this.params.target) {
 +      this.target = document.getElementById(this.params.target);
 +    } else {
 +      this.target = popcorn.SubtitleCommand.subDiv;
 +    }
 +    this.target.style.display = "none";
 +
 +    this.onIn = function() {
 +      if (this.params.languagesrc) {
 +        var i = document.getElementById(this.params.languagesrc).selectedIndex,
 +            that = this;
 +        if (document.getElementById(this.params.languagesrc).options[i].value !== (this.params.language || "") || 
 +           (this.params.accessibilitysrc && document.getElementById(this.params.accessibilitysrc).checked)) {
 +          google.language.translate(this.text, '', document.getElementById(this.params.languagesrc).options[i].value, function(result) {
 +            that.target.innerHTML = result.translation;
 +            that.target.style.display = "inline";
 +            popcorn.SubtitleCommand.subDiv.style.top = offset(videoManager.videoElement).top + videoManager.videoElement.offsetHeight - 64 + "px";
 +            popcorn.SubtitleCommand.subDiv.style.left = offset(videoManager.videoElement).left + ((videoManager.videoElement.offsetWidth / 2) - (popcorn.SubtitleCommand.subDiv.offsetWidth / 2)) + "px";
 +          });
 +        }
 +      } else {
 +        this.target.innerHTML = this.text;
 +        this.target.style.display = "inline";
 +        popcorn.SubtitleCommand.subDiv.style.top = offset(videoManager.videoElement).top + videoManager.videoElement.offsetHeight - 64 + "px";
 +        popcorn.SubtitleCommand.subDiv.style.left = offset(videoManager.videoElement).left + ((videoManager.videoElement.offsetWidth / 2) - (popcorn.SubtitleCommand.subDiv.offsetWidth / 2)) + "px";
 +      }
 +    };
 +    this.onOut = function() {
 +      this.target.innerHTML = "";
 +      this.target.style.display = "none";
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Lower third text Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  popcorn.LowerThirdCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    
 +    // Creates a div for all lower thirds
 +    if (!popcorn.LowerThirdCommand.ltDiv) {
 +      popcorn.LowerThirdCommand.ltDiv = document.createElement('div');
 +      popcorn.LowerThirdCommand.ltDiv.setAttribute('style', 
 +        'padding-left:40px;padding-right:40px;padding-top:40px;position:absolute;top:150px;left:1px;color:white;font-weight:bold;font-family:sans-serif;text-shadow:black 1px 1px 3px;font-size:22px;width:450px;');
 +      this.videoManager.videoElement.parentNode.appendChild(popcorn.LowerThirdCommand.ltDiv);
 +    }
 +    if (this.params.target) {
 +      this.target = document.getElementById(this.params.target);
 +    } else {
 +      this.target = popcorn.LowerThirdCommand.ltDiv;
 +    }
 +    
 +    this.onIn = function() {
 +      $(this.target).css("text-align", (this.params.align || 'left'));
 +      if (this.params.languagesrc) {
 +        var i = document.getElementById(this.params.languagesrc).selectedIndex;
 +        var that = this;
 +        google.language.translate((this.params.salutation || ""), '', document.getElementById(this.params.languagesrc).options[i].value, function(result) {
 +          var span = document.createElement('span');
 +          span.innerHTML = result.translation + " ";
 +          span.setAttribute('style', 'font-size:26px;');
 +          that.target.appendChild(span);
 +        });
 +        google.language.translate((this.params.name || ""), '', document.getElementById(this.params.languagesrc).options[i].value, function(result) {
 +          var span = document.createElement('span');
 +          span.innerHTML = result.translation;
 +          span.setAttribute('style', 'font-size:26px;');
 +          that.target.appendChild(span);
 +        });
 +        google.language.translate((this.params.role || ""), '', document.getElementById(this.params.languagesrc).options[i].value, function(result) {
 +          that.target.innerHTML += "<br/>" + result.translation;
 +        });
 +      } else {
 +        var span = document.createElement('span');
 +        span.innerHTML = (this.params.salutation || "") + " " + (this.params.name || "");
 +        span.setAttribute('style', 'font-size:26px;');
 +        this.target.appendChild(span);
 +        this.target.innerHTML += "<br/>" + (this.params.role || "");
 +      }
 +    };
 +    this.onOut = function() {
 +      this.target.innerHTML = "";
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // GoogleNews Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  popcorn.GoogleNewsCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    this.target = document.createElement('div');
 +    this.target.setAttribute('style', 'display:none;border:0px;');
 +    document.getElementById(this.params.target).appendChild(this.target);
 +    this.target.setAttribute('id', this.id);
 +    var content = document.getElementById(this.id);
 +    var options = {
 +      format : "300x250",
 +      queryList : [
 +        {q: this.params.topic || "Top Stories"}
 +      ]
 +    };
 +    var newsShow = new google.elements.NewsShow(content, options);
 +
 +    this.onIn = function() {
 +      this.target.setAttribute('style', 'display:inline');
 +      $("a").each(function() {
 +        this.setAttribute('target', '_blank');
 +      });
 +      document.getElementById(this.params.target).style.display = "inline";
 +    };
 +    this.onOut = function() {
 +      this.target.setAttribute('style', 'display:none');
 +      document.getElementById(this.params.target).style.display = "none";
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // TagThisPerson Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  var people = function(){
 +    this.contains = {};
 +    this.toString = function() {
 +      var r = [];
 +      for (var i in this.contains) {
 +        if (this.contains.hasOwnProperty(i)) {
 +          r.push(" " + this.contains[i]);
 +        }
 +      }
 +      return r.toString();
 +    };
 +  };
 +  popcorn.TagCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    
 +    if (!popcorn.TagCommand[this.params.target]) {
 +      popcorn.TagCommand[this.params.target] = new people();
 +    }
 +    
 +    this.onIn = function() {
 +      popcorn.TagCommand[this.params.target].contains[this.text] = this.text;
 +      document.getElementById(this.params.target).innerHTML  = popcorn.TagCommand[this.params.target].toString();
 +    };
 +    this.onOut = function() {
 +      delete popcorn.TagCommand[this.params.target].contains[this.text];
 +      document.getElementById(this.params.target).innerHTML  = popcorn.TagCommand[this.params.target].toString();
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Map Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  popcorn.MapCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +
 +    // All data from Universal Subtitles comes from the text attribute
 +    // so the data from that needs to enter the appropriate fields
 +    if (typeof this.text === "string" && this.text !== "") {
 +      // Universal Subtitles has no target attribute, so we create a default
 +      this.params.target = "mapdiv";
 +      var split = this.text.split(", ");
 +      this.params.lat = split[0];
 +      this.params.long = split[1];
 +      this.params.zoom = split[2];
 +    }
 +    this.params.zoom = parseInt(this.params.zoom, 10);
 +    // load the map
 +    // http://code.google.com/apis/maps/documentation/javascript/reference.html#MapOptions  <-- Map API
 +    this.location = new google.maps.LatLng(this.params.lat, this.params.long);
 +    if (!popcorn.MapCommand[this.params.target]) {
 +      popcorn.MapCommand[this.params.target] = new google.maps.Map(document.getElementById(this.params.target), {mapTypeId: google.maps.MapTypeId.HYBRID});
 +      popcorn.MapCommand[this.params.target].setCenter(new google.maps.LatLng(0, 0));
 +      popcorn.MapCommand[this.params.target].setZoom(0);
 +    }
 +    this.onIn = function() {
 +      popcorn.MapCommand[this.params.target].setCenter(this.location);
 +      popcorn.MapCommand[this.params.target].setZoom(this.params.zoom);
 +      if (this.params.src && this.params.mapinfo) {
 +        var link = document.createElement("a");
 +        link.setAttribute("href", this.params.src);
 +        link.setAttribute("target", "_blank");
 +        link.appendChild(document.createTextNode(this.params.description||this.params.src));
 +        document.getElementById(this.params.mapinfo).appendChild(link);
 +      }
 +    };
 +    this.onOut = function() {
 +      popcorn.MapCommand[this.params.target].setCenter(new google.maps.LatLng(0, 0));
 +      popcorn.MapCommand[this.params.target].setZoom(0);
 +      if (this.params.mapinfo) {
 +        document.getElementById(this.params.mapinfo).innerHTML = "";
 +      }
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Lastfm Command
 +  ////////////////////////////////////////////////////////////////////////////
 +  
 +  popcorn.LastfmCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    // Setup a default, hidden div to hold the images
 +    var target = document.createElement('div');
 +    target.setAttribute('id', this.id);
 +    document.getElementById(this.params.target).appendChild(target);
 +    // Div is hidden by default
 +    target.setAttribute('style', 'display:none');
 +        var htmlString = '';
 +      
 +    // This uses jquery
 +        $.getJSON("http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist="+ this.params.artist +"&api_key=30ac38340e8be75f9268727cb4526b3d&format=json&callback=?",
 +          function(data){
 +                  htmlString += '<h3>'+data.artist.name+'</h3>';
 +            htmlString += '<a href="'+data.artist.url+'" target="_blank" style="float:left;margin:0 10px 0 0;"><img src="'+ data.artist.image[2]['#text'] +'" alt=""></a>';
 +                  htmlString += '<p>'+ data.artist.bio.summary +'</p>';
 +                  htmlString += '<hr /><p><h4>Tags</h4><ul>';
 +                  $.each(data.artist.tags.tag, function(i,val) {
 +                    htmlString += '<li><a href="'+ this.url +'">'+ this.name +'</a></li>';
 +                  });
 +                  htmlString += '</ul></p>';
 +                  htmlString += '<hr /><p><h4>Similar</h4><ul>';
 +                  $.each(data.artist.similar.artist, function(i,val) {
 +                    htmlString += '<li><a href="'+ this.url +'">'+ this.name +'</a></li>';
 +                  });
 +                  htmlString += '</ul></p>';
 +            target.innerHTML = htmlString;
 +          }
 +        );
 +      
 +    this.target = target;
 +    this.onIn = function() {
 +      this.target.setAttribute('style', 'display:inline');
 +    };
 +    this.onOut = function() {
 +      this.target.setAttribute('style', 'display:none');
 +    };
 +      this.preload = function() {}; // Probably going to need to preload this.
 +  };
 +  
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Twitter Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  popcorn.TwitterCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +
 +    var that = this;
 +    getScript("http://widgets.twimg.com/j/2/widget.js", typeof TWTR, function() {
 +      // All data from Universal Subtitles comes from the text attribute
 +      // so the data from that needs to enter the appropriate fields
 +      if (typeof text === "string" && text !== "") {
 +        that.params.source = text;
 +        // Universal Subtitles has no target attribute, so we create a default
 +        that.params.target = "twitterdiv";
 +      }
 +
 +      // Setup a default, hidden div to hold the feed
 +      that.target = document.createElement('div');
 +      that.target.setAttribute('id', that.id);
 +      document.getElementById(that.params.target).appendChild(that.target);
 +      
 +      // Div is hidden by default
 +      that.target.setAttribute('style', 'display:none');
 +      var widget = new TWTR.Widget({
 +        version: 2,
 +        type: 'search',
 +        id: that.target.getAttribute('id'),
 +        search: that.params.source,
 +        title: that.params.title || null,
 +        subject: that.params.subject || null,
 +        rpp: 30,
 +        width: that.params.width || 250,
 +        height: that.params.height || 200,
 +        interval: 6000,
 +        theme: {
 +          shell: {
 +            background: '#ffffff',
 +            color: '#000000'
 +          },
 +          tweets: {
 +            background: '#ffffff',
 +            color: '#444444',
 +            links: '#1985b5'
 +          }
 +        },
 +        features: {
 +          loop: true,
 +          timestamp: true,
 +          avatars: true,
 +          hashtags: true,
 +          toptweets: true,
 +          live: true,
 +          scrollbar: false,
 +          behavior: 'default'
 +        }
 +      }).render().start();
 +      that.onIn = function() {
 +        that.target.style.display = "inline";//.setAttribute('style', 'display:inline');
 +        document.getElementById(this.params.target).style.display = "inline";
 +      };
 +      that.onOut = function() {
 +        that.target.style.display = "none";//.setAttribute('style', 'display:none');
 +        document.getElementById(this.params.target).style.display = "none";
 +      };
 +      that.preload = function() {}; // Probably going to need to preload this.
 +    });
 +  };
 +  
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Flickr Command
 +  ////////////////////////////////////////////////////////////////////////////
 +  
 +  popcorn.FlickrCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    // Setup a default, hidden div to hold the images
 +    var target = document.createElement('div');
 +    target.setAttribute('id', this.id);
 +    document.getElementById(this.params.target).appendChild(target);
 +    // Div is hidden by default
 +    target.setAttribute('style', 'display:none');
 +    var height  = this.params.height || "50px",
 +        width   = this.params.width || "50px",
 +        count   = this.params.numberofimages || 4,
 +        padding = this.params.padding || "5px",
 +        border  = this.params.border || "0px";
 +
 +    // This uses jquery
 +    $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=" + this.params.userid + "&lang=en-us&format=json&jsoncallback=?", function(data){
 +      target.innerHTML = "<p style='padding:" + padding + ";'>" + data.title + "<p/>";
 +      $.each(data.items, function(i, item) {
 +        if (i < count) {
 +          var link = document.createElement('a');
 +          link.setAttribute('href', item.link);
 +          link.setAttribute("target", "_blank");
 +          var image = document.createElement('img');
 +          image.setAttribute('src', item.media.m);
 +          image.setAttribute('height', height);
 +          image.setAttribute('width', width);
 +          image.setAttribute('style', 'border:' + border + ';padding:' + padding);
 +          link.appendChild(image);
 +          target.appendChild(link);
 +        } else {
 +          return false;
 +        }
 +      });
 +    });
 +    this.target = target;
 +
 +    this.onIn = function() {
 +      this.target.style.display = "inline";//.setAttribute('style', 'display:inline');
 +      document.getElementById(this.params.target).style.display = "inline";
 +    };
 +    this.onOut = function() {
 +      this.target.style.display = "none";//.setAttribute('style', 'display:none');
 +       document.getElementById(this.params.target).style.display = "none";
 +    };
 +  };
 +      
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Wiki Command
 +  ////////////////////////////////////////////////////////////////////////////
 +  
 +  popcorn.WikiCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +
 +    // All data from Universal Subtitles comes from the text attribute
 +    // so the data from that needs to enter the appropriate fields
 +    if (typeof text === "string" && text !== "") {
 +      this.params.src = text;
 +      // Universal Subtitles has no target attribute, so we create a default
 +      this.params.target = "wikidiv";
 +    }
 +    
 +    //L10n
 +    var src = this.params.src;
 +    var lang = this.params.lang;
 +    if (typeof lang === 'undefined') {lang="en";}
 +    //end L10n
 +
 +    var length = this.params.numberOfWords || 200;
 +    // Setup a default, hidden div to hold the images
 +    var target = document.createElement('div');
 +    target.setAttribute('id', this.id);
 +    document.getElementById(this.params.target).appendChild(target);
 +    // Div is hidden by default
 +    target.setAttribute('style', 'display:none');
 +    // This uses jquery
 +    $.getJSON("http://"+lang+".wikipedia.org/w/api.php?action=parse&props=text&page=" + ( this.params.title || src.slice(src.lastIndexOf("/")+1) ) + "&format=json&callback=?", function(data){
 +      if(data) {
 +        //make a link to the document
 +        var link = document.createElement('a');
 +        link.setAttribute('href', src);
 +        link.setAttribute('target', '_blank');
 +        var p = document.createElement('p');
 +        p.innerHTML = data.parse.displaytitle;
 +        link.appendChild(p);
 +        // get the first 140 characters of the wiki content
 +        var desc = document.createElement('p');
 +        var text = data.parse.text["*"].substr(data.parse.text["*"].indexOf('<p>'));
 +        text = text.replace(/((<(.|\n)+?>)|(\((.*?)\) )|(\[(.*?)\]))/g, "");
 +        desc.innerHTML = text.substr(0, ( length || 140 )) + " ...";
 +        target.appendChild(link);
 +        target.appendChild(desc);
 +      }
 +    });
 +
 +    this.target = target;
 +    this.onIn = function() {
 +      this.target.setAttribute('style', 'display:inline');
 +      document.getElementById(this.params.target).style.display = "block";
 +      
 +    };
 +    this.onOut = function() {
 +      this.target.setAttribute('style', 'display:none');
 +      document.getElementById(this.params.target).style.display = "none";
 +    };
 +  };
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Footnote Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  popcorn.FootnoteCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    this.onIn = function() {
 +      document.getElementById(this.params.target).innerHTML  = this.text;
 +    };
 +    this.onOut = function() {
 +      document.getElementById(this.params.target).innerHTML  = "";
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Attribution Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  popcorn.AttributionCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    var attribution = "";
 +    var image = "";
 +
 +    if (this.params.nameofworkurl) {
 +      attribution += "<a href='" + this.params.nameofworkurl + "' target='_blank'>";
 +    }
 +    if (this.params.nameofwork) {
 +      attribution += this.params.nameofwork;
 +    }
 +    if (this.params.nameofworkurl) {
 +      attribution += "</a>";
 +    }
 +    if (this.params.copyrightholderurl) {
 +      attribution += "<a href='" + this.params.copyrightholderurl + "' target='_blank'>";
 +    }
 +    if (this.params.copyrightholder) {
 +      attribution += ", " + this.params.copyrightholder;
 +    }
 +    if (this.params.copyrightholderurl) {
 +      attribution += "</a>";
 +    }
 +    if (this.params.license) {
 +      if (this.params.license.toUpperCase() === "CC-BY" ) {
 +        image = "<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAfCAYAAABjyArgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQR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aJ98NauqipWVFRiGgaGhIRQKha6v6y2Tg3XB4dj1S9nHvj7Er98eQyQSgaqqUBSF/WbQD26321AUBdPT04hEIhjNjPZvkvNvZDAyiLXVNSwtLbEG+Xye3fSRI0dC4Pw6wzB66vzkX2swMghKA8thUPjv1Pu254d4LvIcyten8dt3itA0DZqmQZIkSJIEURSh6zoTTT+DPWzevnvvLg4dOoTChQK0WQ2iKKLT6YQ8g3K5zGIMyWQS+XyeqbdcLrO2wToAGBoaQrvdxovffxHXSlfxv/V1mOY6TMuEaVqw/biEY8OxHRaE32vo8nEKV7Jgz78X/4WBgUP4aP4jZH6RYcvJbDb7SD/gB1YAYOqdKfzwzA+wbq5j3TRhmSZMawPgRwj4PK4Bdw4A29JJpoYRjUYBAIVCocf12U1aWVlhs3U0GvUC8X5o0oHj2WLfXDypiQMAhzqwbXcf7dLliwyQoiihGO9u4KZSKdZ37M0xL8BudyEHQpRskqVP1pYRm9wB0PH8OF24X6PGgzp99Wev+lM9lSSJ1ut1utPUarWoJEmsv6zI1HhQpwv3a/Ti5Yvs/Ncod79kX8/QxfoCNT42qKzI7LwoinRycpJ2Op0twXY6HTo5OUlFUWT9Tp46SZc+NuiisUDH8+NfR7i0Z/U/kR/Hy4oMQRBwrXgN7//l/T1vGRUuTcKyLNy9W8NrP3/t4IdiwLwEdzOCq9SN3/tmIoJ5Ij/uKvlBnb6n/plGo9Edv7FoNErLvy9T40GdLhoL9N0/vNs3tVBKty0Hz31pCvZT9vUMXvnpK2wXQq9UcWPuxrbb9mfls0gmh9le29zcDUwVpvqnlE0U/GUq96EBwuMnjmEifwHf/k40sBsRDDci5Lf6/3iy/Mkn+N3VEuar8/0digGIj4Np2HEE9vTwaZx56QxOfPcEvhGJhGO4nmv12eoq7i3ew+2bt/sO9iur4KdpHwBTSp8lhHzxFMWBjCjy/wEATHqgDqiBjQoAAAAASUVORK5CYII=' />";
 +      } else if (this.params.license.toUpperCase() === "CC-BY-SA") {
 +        image = "<img src='data:image/png;base64,iV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RNhTZ6TDYPL9NBlIfEDcbveyR8ztdpP4n+Mkcz9N7mTGyHt/eW/VLCCELJq3l61W/1LPXDWDLQm/EcLRXxylpxBKchhXr1xd9Nh+n7QPXm8LPWu7cuUqzkbPrn6RqMCutWJu+TMqnfethsXMYvvWrdu2oDPShfofuG2nEfZwIxx+q/WPJ1OTk3j3fAwjwyNrswrbQFxr07DQsxZ75poBbMmull3Ys3cPtm3fhu+7XM4YrulafVUo4O6du7hx7caaAftNMXgpG7/uAD+RlQtDCNnIMMx/n0CxDhsMQpj/DQDwRbusfJXB0QAAAABJRU5ErkJggg==' />";
 +      } else if (this.params.license.toUpperCase() === "CC-BY-ND") {
 +        image = "<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAfCAYAAABjyArgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcp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SidykxiNC6C53ncyN3AB7/7oO8jo+yVaei6jocPy3j9B6/3v8RcZsN9muHefbb+3im+H5bfe/s2Ee4ylZm0NPlxhbwv/ZYEg8GeZywYDJLCrwpEfVwhS+oieee9d3atBYSQrvfuZ/3ib4fb7zuYTtuq1BtJvPq9V+kphFIs4c78na7H9mfFs4jFhulZ2/z8HcxkZ3bvJLpo0m40109j/a67eQ/Tbd969NgRTGUu4RvfDLpOI9zpRnjiVuc/nqx+8gl+eT2PhdLC3njhLgPdS4Ldk/m5EOzIyeGTOH3mNI69cAxfDQS8OVw7tPp0YwOPlh7h/t37e0bs563B+2GDeyL4qfQvDCHkGYZh/v2Uin3YYBDC/HcArOiX8zGX6zMAAAAASUVORK5CYII=' />";
 +      } else if (this.params.license.toUpperCase() === "CC-BY-NC") {
 +        image = "<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAfCAYAAABjyArgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+z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ZMXkGAwMDNMfgdDoRCASo9g4MDNC2xjoAqKurQyaTwbM/eRZ94V78d34eudw8cnIOuZwMRc9LqApURaVJ+IWR2pcxXUmTPWO3/46qqg14f/R9eH/hpWGhz+db1UvrCRIAOPv6Wexu+inmc/OYz+Ug53LIyQsILpLw+bIn3FkAdEvH6WqEzWYDAASDwUUu0kpkdnaWrtA2m01LxOupSRWqZot1c/GoCgsAKlGhKPl9tDPnTlOC3G63Kce7EnJdLhft2/Fqh5ZgVwokG1KUdJElj9aWEV3cAZDOQCeZuBsjiXtxcujnh/SlnjgcDhKPx0m5kk6nicPhoP0Ft0AS9+Jk4m6MnD53mt7/CpXChe+ol9yOT5DEBwkiuAV6n+d50t3dTWZmZkoSOzMzQ7q7uwnP87Tf9h3byeQHCXI7MUE6A51fRXIJs9Ap7Qp0Yq9bgMViQV+oD2/96a2Kt4yCZ7ohyzLGx2N4uf3lyqeYwWwYdzOM0efC65Xil8LSn10pNoqx3hXozGvyvTh5M/JHYrPZyh4xm81GBn47QBL34uR2YoK88bs3Vq0FhJAlz433KsVfDrfSZzClwirfUS8OHDxAdyGk6AiuXrm65Lb9HmEPnM5Gutd25cpVnA2eXf0iUUSD10JzF2KUOq5GmKXi1q3bGtAVOIWazTbDboQx3QiT36r/48n01BR+3RvG6Mjo2qzCC6bsWpmG5UzCUs9dE4J12dW4C03NTdj2zDZ83Wo153A11+rTbBZ3bt/BjWs31ozYL1qD18MGl0XwY1mFiSCEPMEwzGePqViHAIMQ5n8DAFb/49reYmyHAAAAAElFTkSuQmCC'/>";
 +      } else if (this.params.license.toUpperCase() === "CC-BY-NC-SA") {
 +        image = "<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAfCAYAAABjyArgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOO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FiITExNsddXpdOlAfPoUI5VCKm2LKX3kdKsKDwApSiGZlM7R9rfuYwRZLBZFjHch5JrNZta2/tf16QB7cprkjCMjtsjSrXVkxBZ3ANTQ3ED+4QEKXgzQoz99VBFRCwQCC4p0ZUbSBItAwYsB8g8P0L7Wfez+lyhN/6l5upoGA34K3kDAPRqNUktLiyLgvmbtGrrwfpAGg35qaG74MpJL3EyntLG5AeUWAWq1GkccR/Daq6/d8JGRfX8LEokE+vsH8OTjT+bzHUHGro9j9zJ3mTP/58LJ1UZ+Rr6Bplx9WhDGzNTY3CBp8sUAdbpfIZ1Ol/eI6XQ6cj3vouDFAA0G/fTS717Ku+3MY6KZ+cx78+HM1z4frGx1FooxS4NlqXm6GlXbqthRj+jtwYnjJ+Y8tn9YeBgmUyk70Dx+/AQO2A8s5EuYWdqyEM2dWTfXdYFf52TV3lz9zLqTy1W46o4SNDY3oXCpLuM0IjPcCIXfKn94Mj42hmfbnTjXc27BL3MzpmE+kzAX/kIHLV+MOQmW5d7Se7GhbAPuWH0HvqHRpD+dmjYwRISrsRiGBodw+uTpBRP7WWnwzdrg+daET43gr+QmNhpE9PWvaPiMNhhE3P8GAG3CFDKJWtqSAAAAAElFTkSuQmCC' />";
 +      } else if (this.params.license.toUpperCase() === "CC-BY-NC-ND") {
 +        image = "<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAfCAYAAABjyArgAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAE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kowQCw4eb16PXsQf1aS9luRHm6ETrdqn14MjU5iV8fCuDcwLnlfmp0RaGhWkhYDjGfFM6SBGt2e8vtaGtvw83fvBlfNplKn07NBRgiwnQ+jwvJCzh98vSyif20PPhqiME1EfyFrdw4Irqe47h/f0HFp7DAIOL+NwDFrtvhh4x87AAAAABJRU5ErkJggg==' />";
 +      }
 +      if (image) {
 +        attribution = image + " " +attribution;
 +      } else {
 +        attribution += ", license: " + this.params.license;
 +      }
 +    }  
 +    if (this.params.licenseurl) {
 +      attribution += ", <a href='" + this.params.licenseurl + "' target='_blank'>License URL</a>";
 +    }
 +    //if the user did not specify any parameters just pull the text from the tag
 +    if (attribution === "") {
 +      attribution = this.text;
 +    }
 +    this.onIn = function() {
 +      document.getElementById(this.params.target).innerHTML = attribution;
 +      document.getElementById(this.params.target).style.display = "block";//setAttribute('style', 'display:inline');
 +    };
 +    this.onOut = function() {
 +      document.getElementById(this.params.target).innerHTML = "";
 +      document.getElementById(this.params.target).style.display = "none";//.setAttribute('style', 'display:none');
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Warp Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  popcorn.SeekCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    this.params["in"] = toSeconds(this.params.seekfrom);
 +    this.params["out"] = toSeconds(this.params.seekfrom) + 1;
 +    this.params.seekto = toSeconds(this.params.seekto);
 +    this.onIn = function() {
 +      this.videoManager.videoElement.currentTime = this.params.seekto;
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Script Command
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  popcorn.ScriptCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +    this.start = eval(this.params.start) || function() {};
 +    this.stop = eval(this.params.stop) || function() {};
 +    this.onIn = function() {
 +      this.start();
 +    };
 +    this.onOut = function() {
 +      this.stop();
 +    };
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // WebPage Command
 +  ////////////////////////////////////////////////////////////////////////////
 +  
 +  popcorn.WebPageCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +
 +    // Setup a default, iframe to hold the website
 +    var target = document.createElement('iframe');
 +    target.setAttribute('src', this.params.src);
 +    target.setAttribute('width', this.params.width);
 +    target.setAttribute('height', this.params.height);
 +    target.setAttribute('id', this.id);
 +    document.getElementById(this.params.target).appendChild(target);
 +    // iframe is hidden by default
 +    target.setAttribute('style', 'display:none');
 +    // toggle display of the iframe 
 +    this.target = target;
 +    this.onIn = function() {
 +      this.target.setAttribute('style', 'display:inline');
 +    };
 +    this.onOut = function() {
 +      this.target.setAttribute('style', 'display:none');
 +    };
 +  };
 +  ////////////////////////////////////////////////////////////////////////////
 +  // Image Command
 +  ////////////////////////////////////////////////////////////////////////////
 +  
 +  popcorn.ImageCommand = function(name, params, text, videoManager) {
 +    popcorn.VideoCommand.call(this, name, params, text, videoManager);
 +
 +    var src = this.params.src;
 +    // Setup a default, hidden div to hold the image
 +    var target = document.createElement('div');
 +    target.setAttribute('id', this.id);
 +    
 +    // Div is hidden by default
 +    target.setAttribute('style', 'display:none');
 +    var image = document.createElement('img');
 +    image.setAttribute('src', this.params.src);
 +    image.setAttribute('height', this.params.height);
 +    image.setAttribute('width', this.params.width);
 +    target.appendChild(image);
 +    //apend to the target div provided in the xml
 +    document.getElementById(this.params.target).appendChild(target);
 +
 +    this.target = target;
 +    this.onIn = function() {
 +      this.target.setAttribute('style', 'display:inline');
 +      document.getElementById(this.params.target).style.display = "block";
 +      
 +    };
 +    this.onOut = function() {
 +      this.target.setAttribute('style', 'display:none');
 +      document.getElementById(this.params.target).style.display = "none";
 +    };
 +  };
 +  // Wrapper for accessing commands by name
 +  // commands[name].create() returns a new command of type name
 +  // Not sure if this is the best way; maybe it's too fancy?
 +  // I liked it more than a switch, though
 +  var commands = {
 +    subtitle: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.SubtitleCommand(name, params, text, videoManager);
 +      }
 +    },
 +    flickr: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.FlickrCommand(name, params, text, videoManager);
 +      }
 +    },
 +    videotag: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.TagCommand(name, params, text, videoManager);
 +      }
 +    },
 +    location: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.MapCommand(name, params, text, videoManager);
 +      }
 +    },
 +    footnote: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.FootnoteCommand(name, params, text, videoManager);
 +      }
 +    },
 +    twitter: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.TwitterCommand(name, params, text, videoManager);
 +      }
 +    },
 +    attribution: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.AttributionCommand(name, params, text, videoManager);
 +      }
 +    },
 +    googlenews: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.GoogleNewsCommand(name, params, text, videoManager);
 +      }
 +    },
 +    wiki: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.WikiCommand(name, params, text, videoManager);
 +      }
 +    },
 +        lastfm: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.LastfmCommand(name, params, text, videoManager);
 +      }
 +    },
 +    lowerthird: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.LowerThirdCommand(name, params, text, videoManager);
 +      }
 +    },
 +    seek: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.SeekCommand(name, params, text, videoManager);
 +      }
 +    },
 +    script: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.ScriptCommand(name, params, text, videoManager);
 +       }
 +    },
 +    webpage: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.WebPageCommand(name, params, text, videoManager);
 +      }
 +    },
 +    image: {
 +      create: function(name, params, text, videoManager) {
 +        return new popcorn.ImageCommand(name, params, text, videoManager);
 +      }
 +    }
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // XML Converter
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  // Converts xml into command objects and adds them to the video manager
 +  var convertXML = function(xmlDoc, videoManager) {
 +
 +    var parseNode = function(node, attributes, manifest) {
 +      var allAttributes = attributes.slice(0);
 +      allAttributes.push(node.attributes);
 +      var childNodes = node.childNodes;
 +      if (childNodes.length < 1 || (childNodes.length === 1 && childNodes[0].nodeType === 3)) {
 +        if (!manifest) {
 +          videoManager.addCommand(commands[node.nodeName].create(node.nodeName, allAttributes, node.textContent, videoManager));
 +        } else {
 +          videoManager.addManifestObject(allAttributes);
 +        }
 +      } else {
 +        for (var i = 0; i < childNodes.length; i++) {
 +          if (childNodes[i].nodeType === 1) {
 +            parseNode(childNodes[i], allAttributes, manifest);
 +          }
 +        }
 +      }
 +    };
 +
 +    var x = xmlDoc.documentElement.childNodes;
 +    for (var i = 0, xl = x.length; i < xl; i++) {
 +      if (x[i].nodeType === 1) {
 +        if (x[i].nodeName === "manifest") {
 +          parseNode(x[i], [], true);
 +        } else {
 +          parseNode(x[i], [], false);
 +        }
 +      }
 +    }
 +  };
 +
 +  ////////////////////////////////////////////////////////////////////////////
 +  // JSON Converter
 +  ////////////////////////////////////////////////////////////////////////////
 +
 +  // Converts json into command objects and adds them to the video manager
 +  var convertJSON = function(jsonData, videoManager, type) {
 +
 +    // loops through subtitles in the json
 +    for (var j = 0, jl = jsonData.length; j < jl; j++) {
 +      var allAttributes = [],
 +          attributes = [],
 +          l = 0,
 +          text = "";
 +      // loops through attributes inside command, and packages them similar to how the xml data looks
 +      for (var attribute in jsonData[j]) {
 +        if (jsonData[j].hasOwnProperty(attribute)) {
 +          if (attribute === "text") {
 +            text = jsonData[j][attribute];
 +          } else {
 +            attributes.push({"nodeName":attribute,"nodeValue":jsonData[j][attribute]});
 +            l++;
 +          }
 +        }
 +      }
 +      allAttributes = [];
 +      // this object mimics the object used for xml
 +      allAttributes.push({
 +        "att": attributes.slice(0),
 +        "item": (function() {
 +          return function(i) {
 +            return this.att[i];
 +          };
 +        }()),
 +        "length": l
 +      });
 +      videoManager.addCommand(commands[type].create(type, allAttributes, text, videoManager));
 +    }
 +  };
 +
 +  var convertData = function(video, manager, data, convert, type) {
 +    var si = setInterval(function() {
 +        if (video.readyState < 1) { return; }
 +        clearInterval(si);
 +        convert(data, manager, type);
 +        manager.loaded();
 +    }, 50);
 +  };
 +
 +  // Loads an external xml file, and returns the xml object
 +  var getTimelineData = function(name) {
 +    var xhttp = new XMLHttpRequest();
 +    if (xhttp) {
 +      xhttp.open("GET", name, false);
 +      xhttp.send();
 +      return xhttp;
 +    } else {
 +      return false;
 +    }
 +  };
 +
 +  // Automatic Initialization Method
 +  var init = function() {
 +    getScript('http://code.jquery.com/jquery.js', typeof jQuery, function() {
 +      var video = document.getElementsByTagName('video');
 +      for (var i = 0, l = video.length; i < l; i++) {
 +        var ind = i;
 +        var videoSources = video[ind].getAttribute('data-timeline-sources');
 +        if (videoSources) {
 +          var filename = videoSources,
 +              dataXML = "",
 +              dataJSON = "";
 +          var ext = (filename.toLowerCase()).match(/\.xml$/);
 +          var manager = new popcorn.VideoManager(video[ind]);
 +          if (ext !== null) {
 +            convertData(video[ind], manager, getTimelineData(filename).responseXML, convertXML);
 +          } else {
 +            $.getJSON("http://dev.universalsubtitles.org/api/subtitles/?video_url=" + filename + "&callback=?", (function() {
 +              return function(data) {
 +                convertData(video[ind], manager, data, convertJSON, "subtitle");
 +                $.getJSON("http://dev.universalsubtitles.org/api/subtitles/?video_url=" + filename + "&language=meta-geo&callback=?", (function() {
 +                  return function(data) {
 +                    convertData(video[ind], manager, data, convertJSON, "location");
 +                    $.getJSON("http://dev.universalsubtitles.org/api/subtitles/?video_url=" + filename + "&language=meta-tw&callback=?", (function() {
 +                      return function(data) {
 +                        convertData(video[ind], manager, data, convertJSON, "twitter");
 +                        $.getJSON("http://dev.universalsubtitles.org/api/subtitles/?video_url=" + filename + "&language=meta-wiki&callback=?", (function() {
 +                          return function(data) {
 +                            convertData(video[ind], manager, data, convertJSON, "wiki");
 +                          };
 +                        }()));
 +                      };
 +                    }()));
 +                  };
 +                }()));
 +              };
 +            }()));
++=======
+ (function(global, document) {
+ 
+   //  Cache refs to speed up calls to native utils
+   var  
+   forEach = Array.prototype.forEach, 
+   hasOwn = Object.prototype.hasOwnProperty, 
+   slice = Array.prototype.slice,
+ 
+   //  ID string matching
+   rIdExp  = /^(#([\w\-\_\.]+))$/, 
+   
+   // ready fn cache
+   readyStack = [], 
+   readyBound = false,
+   readyFired = false,
+   
+ 
+   //  Declare a pseudo-private constructor
+   //  Returns an instance object.    
+   Popcorn = function( entity ) {
+     //  Return new Popcorn object
+     return new Popcorn.p.init( entity );
+   };
+ 
+   //  Declare a shortcut (Popcorn.p) to and a definition of 
+   //  the new prototype for our Popcorn constructor 
+   Popcorn.p = Popcorn.prototype = {
+ 
+     init: function( entity ) {
+ 
+       var elem, matches;
+       
+       //  Supports Popcorn(function () { /../ }) 
+       //  Originally proposed by Daniel Brooks
+       
+       if ( typeof entity === "function" ) {
+       
+         //  If document ready has already fired
+         if ( document.readyState === "interactive" || document.readyState === "complete" ) {
+           
+           entity(document, Popcorn);
+           
+           return;
+         }
+         
+         
+         readyStack.push( entity );
+ 
+         //  This process should happen once per page load
+         if ( !readyBound ) {
+ 
+           //  set readyBound flag
+           readyBound = true;
+ 
+           var DOMContentLoaded  = function () {
+             
+             readyFired = true;
+             
+             //  remove this listener
+             document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
+ 
+             //  Execute all ready function in the stack
+             for ( var i = 0; i < readyStack.length; i++ ) {
+ 
+               readyStack[i].call( document, Popcorn );
+ 
+             }
+             //  GC readyStack
+             readyStack = null;  
+           };
+ 
+           document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false);
+         }
+ 
+         
+         
+         return;  
+       }
+  
+       
+       matches = rIdExp.exec( entity );
+       
+       if ( matches.length && matches[2]  ) {
+         elem = document.getElementById(matches[2]);
+       }
+       
+       
+       this.video = elem ? elem : null;
+       
+       this.data = {
+         history: [],
+         events: {},
+         trackEvents: {
+           byStart: [{start: -1, end: -1}],
+           byEnd:   [{start: -1, end: -1}],
+           startIndex: 0,
+           endIndex:   0,
+           previousUpdateTime: 0
+         }
+       };
+       
+       var isReady = function( that ) {
+ 
+         if ( that.video.readyState >= 3 ) {
+           // adding padding to the front and end of the arrays
+           // this is so we do not fall off either end
+ 
+           var videoDurationPlus = that.video.duration + 1;
+           Popcorn.addTrackEvent( that, {
+             start: videoDurationPlus,
+             end: videoDurationPlus
+           });
+           
+           that.video.addEventListener( "timeupdate", function( event ) {
+ 
+             var currentTime    = this.currentTime,
+                 previousTime   = that.data.trackEvents.previousUpdateTime,
+                 tracks         = that.data.trackEvents,
+                 tracksByEnd    = tracks.byEnd,
+                 tracksByStart  = tracks.byStart;
+ 
+             // Playbar advancing
+             if ( previousTime < currentTime ) {
+ 
+               while ( tracksByEnd[tracks.endIndex] && tracksByEnd[tracks.endIndex].end <= currentTime ) {
+                 if ( tracksByEnd[tracks.endIndex]._running === true ) {
+                   tracksByEnd[tracks.endIndex]._running = false;
+                   tracksByEnd[tracks.endIndex]._natives.end.call( that, event, tracksByEnd[tracks.endIndex] );
+                 }
+                 tracks.endIndex++;
+               }
+               
+               while ( tracksByStart[tracks.startIndex] && tracksByStart[tracks.startIndex].start <= currentTime ) {
+                 if ( tracksByStart[tracks.startIndex].end > currentTime && tracksByStart[tracks.startIndex]._running === false ) {
+                   tracksByStart[tracks.startIndex]._running = true;
+                   tracksByStart[tracks.startIndex]._natives.start.call( that, event, tracksByStart[tracks.startIndex] );
+                 }
+                 tracks.startIndex++;
+               }
+ 
+             // Playbar receding
+             } else if ( previousTime > currentTime ) {
+ 
+               while ( tracksByStart[tracks.startIndex] && tracksByStart[tracks.startIndex].start > currentTime ) {
+                 if ( tracksByStart[tracks.startIndex]._running === true ) {
+                   tracksByStart[tracks.startIndex]._running = false;
+                   tracksByStart[tracks.startIndex]._natives.end.call( that, event, tracksByStart[tracks.startIndex] );
+                 }
+                 tracks.startIndex--;
+               }
+               
+               while ( tracksByEnd[tracks.endIndex] && tracksByEnd[tracks.endIndex].end > currentTime ) {
+                 if ( tracksByEnd[tracks.endIndex].start <= currentTime && tracksByEnd[tracks.endIndex]._running === false ) {
+                   tracksByEnd[tracks.endIndex]._running = true;
+                   tracksByEnd[tracks.endIndex]._natives.start.call( that, event, tracksByEnd[tracks.endIndex] );
+                 }
+                 tracks.endIndex--;
+               }
+             } 
+             /*
+             //  This empty block causes errors with jslint
+             
+             else {
+               // When user seeks, currentTime can be equal to previousTime on the
+               // timeUpdate event. We are not doing anything with this right now, but we
+               // may need this at a later point and should be aware that this behavior
+               // happens in both Chrome and Firefox.
+             }
+             */
+             tracks.previousUpdateTime = currentTime;
+             
+           }, false);
+         } else {
+           global.setTimeout( function() {
+             isReady( that );
+           }, 1);
+         }
+       };
+ 
+       isReady( this );
+ 
+       return this;
+     }
+   };
+ 
+   //  This trick allows our api methods to be chained to 
+   //  instance references.    
+   Popcorn.p.init.prototype = Popcorn.p;
+ 
+   Popcorn.forEach = function( obj, fn, context ) {
+ 
+     if ( !obj || !fn ) {
+       return {};
+     }
+ 
+     context = context || this;
+     // Use native whenever possible
+     if ( forEach && obj.forEach === forEach ) {
+       return obj.forEach(fn, context);
+     } 
+ 
+     for ( var key in obj ) {
+       if ( hasOwn.call(obj, key) ) {
+         fn.call(context, obj[key], key, obj);
+       } 
+     }        
+ 
+     return obj;
+   };    
+   
+   Popcorn.extend = function( obj ) {
+     var dest = obj, src = slice.call(arguments, 1);
+ 
+     Popcorn.forEach( src, function( copy ) {
+       for ( var prop in copy ) {
+         dest[prop] = copy[prop];
+       }
+     });
+     return dest;      
+   };
+ 
+ 
+   // A Few reusable utils, memoized onto Popcorn
+   Popcorn.extend( Popcorn, {
+     error: function( msg ) {
+       throw msg;
+     },
+     guid: function( prefix ) {
+       Popcorn.guid.counter++;
+       return  ( prefix ? prefix : '' ) + ( +new Date() + Popcorn.guid.counter );
+     }, 
+     sizeOf: function ( obj ) {
+       var size = 0;
+ 
+       for ( var prop in obj  ) {
+         size++;
+       }
+ 
+       return size;
+     }, 
+     nop: function () {}
+   });    
+   
+   //  Memoization property
+   Popcorn.guid.counter  = 1;
+   
+   //  Simple Factory pattern to implement getters, setters and controllers 
+   //  as methods of the returned Popcorn instance. The immediately invoked function 
+   //  creates and returns an object of methods
+   Popcorn.extend(Popcorn.p, (function () {
+       
+       // todo: play, pause, mute should toggle
+       var methods = "load play pause currentTime playbackRate mute volume duration", 
+           ret = {};
+       
+       
+       //  Build methods, store in object that is returned and passed to extend
+       Popcorn.forEach( methods.split(/\s+/g), function( name ) {
+         
+         ret[ name ] = function( arg ) {
+           
+           if ( typeof this.video[name] === "function" ) {
+             this.video[ name ]();
+             
+             return this;
+           }
+           
+           
+           if ( arg !== false && arg !== null && typeof arg !== "undefined" ) {
+             
+             this.video[ name ] = arg;
+             
+             return this;
+           }
+           
+           return this.video[ name ];
+         };
+       });
+       
+       return ret;
+   
+     })()
+   );
+   
+   Popcorn.extend(Popcorn.p, {
+     
+     //  getting properties
+     roundTime: function () {
+       return -~this.video.currentTime;
+     },
+     
+     
+     exec: function ( time, fn ) {
+       
+       !fn && ( fn = Popcorn.nop );
+       
+       
+       var self = this, 
+           guid = Popcorn.guid( "execCallback" ), 
+           callback = function execCallback( event ) {
+             
+             if ( this.currentTime() >= time && !callback.fired ) {
+               
+               callback.fired = true;
+               
+               this.unlisten("timeupdate", guid );
+               
+               fn.call(self, event);
+               
+             }
+           };
+       
+       callback.fired = false;
+       callback.name = guid;
+       
+       this.listen("timeupdate", callback);
+       
+       return this;
+     },
+     removePlugin: function( name ) {
+ 
+       var byStart = this.data.trackEvents.byStart, 
+           byEnd = this.data.trackEvents.byEnd;
+   
+       delete Popcorn.p[ name ];
+   
+       // remove plugin reference from registry
+       for ( var r = 0, rl = Popcorn.registry.length; r < rl; r++ ) {
+         if ( Popcorn.registry[r].type === name ) {
+           Popcorn.registry.splice(r, 1);
+           break; // plugin found, stop checking
+         }
+       }
+ 
+       // remove all trackEvents
+       for ( var s = 0, sl = byStart.length; s < sl; s++ ) {
+         if ( byStart[s] && byStart[s]._natives && byStart[s]._natives.type === name ) {
+           byStart.splice( s, 1 );
+           s--; sl--; // update for loop if something removed, but keep checking
+           if ( this.data.trackEvents.startIndex <= s ) {
+             this.data.trackEvents.startIndex--; // write test for this
+           }
+         }
+       }
+       for ( var e = 0, el = byEnd.length; e < el; e++ ) {
+         if ( byEnd[e] && byEnd[e]._natives && byEnd[e]._natives.type === name ) {
+           byEnd.splice( e, 1 );
+           e--; el--; // update for loop if something removed, but keep checking
+           if ( this.data.trackEvents.endIndex <= e ) {
+             this.data.trackEvents.endIndex--; // write test for this
+           }
+         }
+       }
+       return this;
+     }
+   });
+ 
+   Popcorn.Events  = {
+     UIEvents: "blur focus focusin focusout load resize scroll unload  ", 
+     MouseEvents: "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave click dblclick", 
+     Events: "loadstart progress suspend emptied stalled play pause " + 
+            "loadedmetadata loadeddata waiting playing canplay canplaythrough " + 
+            "seeking seeked timeupdate ended ratechange durationchange volumechange"
+   };
+     
+   Popcorn.Events.Natives = Popcorn.Events.UIEvents + " " + 
+                             Popcorn.Events.MouseEvents + " " +
+                               Popcorn.Events.Events;
+   
+   Popcorn.events  = {
+   
+ 
+     isNative: function( type ) {
+       
+       var checks = Popcorn.Events.Natives.split(/\s+/g);
+       
+       for ( var i = 0; i < checks.length; i++ ) {
+         if ( checks[i] === type ) {
+           return true;
+         }
+       }
+       
+       return false;
+     },  
+     getInterface: function( type ) {
+       
+       if ( !Popcorn.events.isNative( type ) ) {
+         return false;
+       }
+       
+       var natives = Popcorn.Events, proto;
+       
+       for ( var p in natives ) {
+         if ( p !== "Natives" && natives[p].indexOf(type) > -1 ) {
+           proto = p;
+         }
+       }
+       
+       return proto;
+     
+     }, 
+     
+     
+     all: Popcorn.Events.Natives.split(/\s+/g), 
+     
+     fn: {
+       trigger: function ( type, data ) {
+         
+         //  setup checks for custom event system
+         if ( this.data.events[type] && Popcorn.sizeOf(this.data.events[type]) ) {
+           
+           var eventInterface  = Popcorn.events.getInterface(type);
+           
+           if ( eventInterface ) {
+           
+             var evt = document.createEvent( eventInterface );
+                 evt.initEvent(type, true, true, global, 1);          
+           
+             this.video.dispatchEvent(evt);
+             
+             return this;
+           }        
+ 
+           //  Custom events          
+           Popcorn.forEach(this.data.events[type], function ( obj, key ) {
+ 
+             obj.call( this, data );
+             
+           }, this);
+           
+         }
+         
+         return this;
+       }, 
+       listen: function ( type, fn ) {
+         
+         var self = this, hasEvents = true;
+         
+         if ( !this.data.events[type] ) {
+           this.data.events[type] = {};
+           hasEvents = false;
+         }
+         
+         //  Register 
+         this.data.events[type][ fn.name || ( fn.toString() + Popcorn.guid() ) ] = fn;
+         
+         // only attach one event of any type          
+         if ( !hasEvents && Popcorn.events.all.indexOf( type ) > -1 ) {
+ 
+           this.video.addEventListener( type, function( event ) {
+             
+             Popcorn.forEach( self.data.events[type], function ( obj, key ) {
+               if ( typeof obj === "function" ) {
+                 obj.call(self, event);
+               }
+ 
+             });
+             
+             //fn.call( self, event );
+           
+           }, false);          
+         }
+         return this;
+       }, 
+       unlisten: function( type, fn ) {
+         
+         if ( this.data.events[type] && this.data.events[type][fn] ) {
+           
+           delete this.data.events[type][ fn ];
+           
+           return this;
+         }
+       
+         this.data.events[type] = null;
+         return this;        
+       },      
+       special: {
+         // handles timeline controllers
+         play: function () {
+           //  renders all of the interally stored track commands
+         }
+       }
+     }
+   };
+   
+   //  Extend listen and trigger to all Popcorn instances
+   Popcorn.forEach( ["trigger", "listen", "unlisten"], function ( key ) {
+     Popcorn.p[key] = Popcorn.events.fn[key];
+   });  
+   
+   Popcorn.protect = {
+     natives: "load play pause currentTime playbackRate mute volume duration removePlugin roundTime trigger listen unlisten".toLowerCase().split(/\s+/)
+   };
+   
+   
+   Popcorn.addTrackEvent = function( obj, track ) {
+   
+     if ( track._natives ) {
+       // supports user defined track event id
+       track._id = !track.id ? Popcorn.guid( track._natives.type ) : track.id;
+ 
+       //  Push track event ids into the history
+       obj.data.history.push( track._id );      
+     }
+   
+     // Store this definition in an array sorted by times
+     obj.data.trackEvents.byStart.push( track );
+     obj.data.trackEvents.byEnd.push( track );
+     obj.data.trackEvents.byStart.sort( function( a, b ){
+       return ( a.start - b.start );
+     });
+     obj.data.trackEvents.byEnd.sort( function( a, b ){
+       return ( a.end - b.end );
+     });
+ 
+   };
+ 
+   Popcorn.removeTrackEvent  = function( obj, trackId ) {
+     
+     var historyLen = obj.data.history.length, 
+         indexWasAt = 0, 
+         byStart = [], 
+         byEnd = [], 
+         history = []; 
+     
+     
+     Popcorn.forEach( obj.data.trackEvents.byStart, function( o, i, context) {
+       
+       // Preserve the original start/end trackEvents
+       if ( !o._id ) {
+         byStart.push( obj.data.trackEvents.byStart[i] );
+         byEnd.push( obj.data.trackEvents.byEnd[i] );
+       }  
+       
+       // Filter for user track events (vs system track events)
+       if ( o._id ) {
+         
+         // Filter for the trackevent to remove
+         if ( o._id !== trackId ) {
+           byStart.push( obj.data.trackEvents.byStart[i] );
+           byEnd.push( obj.data.trackEvents.byEnd[i] );
+         }      
+       
+         //  Capture the position of the track being removed.
+         if ( o._id === trackId ) {
+           indexWasAt = i;
+         }      
+       }
+     });
+     
+     
+     //  Update 
+     if ( indexWasAt <= obj.data.trackEvents.startIndex ) {
+       obj.data.trackEvents.startIndex--;
+     }
+ 
+     if ( indexWasAt <= obj.data.trackEvents.endIndex ) {
+       obj.data.trackEvents.endIndex--;
+     }
+     
+     
+     obj.data.trackEvents.byStart = byStart;
+     obj.data.trackEvents.byEnd = byEnd;
+ 
+ 
+     for ( var i = 0; i < historyLen; i++ ) {
+       if ( obj.data.history[i] !== trackId ) {
+         history.push( obj.data.history[i] );
+       }
+     }    
+     
+     obj.data.history = history;
+ 
+   };
+   
+   Popcorn.getTrackEvents = function( obj ) {
+     
+     var trackevents = [];
+     
+     Popcorn.forEach( obj.data.trackEvents.byStart, function(o, i, context) {    
+       if ( o._id ) {
+         trackevents.push(o);
+       } 
+     });
+     
+     return trackevents;
+   };
+   
+   
+   Popcorn.getLastTrackEventId = function( obj ) {
+     return obj.data.history[ obj.data.history.length - 1 ];
+   };
+   
+   //  Map TrackEvents functions to the {popcorn}.prototype
+   Popcorn.extend( Popcorn.p, {
+     
+     getTrackEvents: function() {
+       return Popcorn.getTrackEvents.call( null, this );
+     },
+   
+     getLastTrackEventId: function() {
+       return Popcorn.getLastTrackEventId.call( null, this );
+     }, 
+     
+     removeTrackEvent: function( id ) {
+       Popcorn.removeTrackEvent.call( null, this, id );
+       return this;
+     }
+   
+   });
+   
+   //  Plugin manifests
+   Popcorn.manifest = {};
+   //  Plugins are registered 
+   Popcorn.registry = [];
+   //  An interface for extending Popcorn 
+   //  with plugin functionality
+   Popcorn.plugin = function( name, definition ) {
+ 
+     if ( Popcorn.protect.natives.indexOf( name.toLowerCase() ) >= 0 ) {
+       Popcorn.error("'" + name + "' is a protected function name");
+       return;
+     }
+ 
+     //  Provides some sugar, but ultimately extends
+     //  the definition into Popcorn.p 
+     
+     var reserved = [ "start", "end"], 
+         plugin = {type: name},
+         pluginFn, 
+         setup;
+     
+     if ( typeof definition === "object" ) {
+       
+       setup = definition;
+       
+       /*if ( !( "timeupdate" in setup ) ) {
+         setup.timeupdate = Popcorn.nop;
+       }*/        
+ 
+       pluginFn  = function ( options ) {
+         
+         if ( !options ) {
+           return this;
+         } 
+         
+         // storing the plugin natives
+         options._natives = setup;
+         options._natives.type = name;
+         options._running = false;
+ 
+         //  Checks for expected properties
+         if ( !( "start" in options ) ) {
+           options.start = 0;
+         }
+         
+         if ( !( "end" in options ) ) {
+           options.end = this.duration();
+         }
+ 
+         //  If a _setup was declared, then call it before 
+         //  the events commence
+         
+         if ( "_setup" in setup && typeof setup._setup === "function" ) {
+           
+           // Resolves 239, 241, 242
+           options.target || 
+             ( setup.manifest.options.target && 
+                 ( options.target = setup.manifest.options.target ) );
+ 
+           setup._setup.call( this, options );
+         }
+         
+ 
+         Popcorn.addTrackEvent( this, options );
+ 
+         
+         //  Future support for plugin event definitions 
+         //  for all of the native events
+         Popcorn.forEach( setup, function ( callback, type ) {
+         
+           if ( type !== "type" ) {
+           
+             if ( reserved.indexOf(type) === -1 ) {
+ 
+               this.listen( type, callback );
+             }
+           }
+           
+         }, this);
+         
+         return this;
+       };
+     }
+     
+     //  If a function is passed... 
+     if ( typeof definition === "function" ) {
+       
+       //  Execute and capture returned object
+       setup = definition.call(this);
+       
+       //  Ensure an object was returned 
+       //  it has properties and isnt an array
+       if ( typeof setup === "object" && 
+             !( "length" in setup )  ) {
+         
+         Popcorn.plugin( name, setup );                
+       }
+       return;
+     }
+     
+     //  Assign new named definition     
+     plugin[ name ] = pluginFn;
+     
+     //  Extend Popcorn.p with new named definition
+     Popcorn.extend( Popcorn.p, plugin );
+     
+     //  Push into the registry
+     Popcorn.registry.push(plugin);
+     
+     
+     if ( !!( "manifest" in setup ) ) {
+       
+       //  Augment the manifest object
+       Popcorn.manifest[ name ] = setup.manifest;
+     }    
+     
+     return plugin;
+   };
+   
+   // stores parsers keyed on filetype
+   Popcorn.parsers = {};
+ 
+   // An interface for extending Popcorn
+   // with parser functionality
+   Popcorn.parser = function( name, type, definition ) {
+ 
+     if ( Popcorn.protect.natives.indexOf( name.toLowerCase() ) >= 0 ) {
+       Popcorn.error("'" + name + "' is a protected function name");
+       return;
+     }
+ 
+     if ( typeof definition !== "function" ) {
+       return;
+     }
+ 
+     // Provides some sugar, but ultimately extends
+     // the definition into Popcorn.p
+     
+     var natives = Popcorn.events.all,
+         parseFn,
+         parser = {};
+     
+     parseFn = function ( filename ) {
+         
+       if ( !filename ) {
+         return this;
+       }
+ 
+       var that = this;
+ 
+       Popcorn.xhr({
+         url: filename,
+         success: function( data ) {
+ 
+           var tracksObject = definition( data );
+ 
+           // creating tracks out of parsed object
+           for ( var i = 0, todl = tracksObject.data.length; i < todl; i++ ) {
+ 
+             for ( var key in tracksObject.data[i] ) {
+ 
+               if ( tracksObject.data[i].hasOwnProperty(key) ) {
+                 that[key]( tracksObject.data[i][key] );
+               }
+             }
+           }
+         }
+       });
+ 
+       return this;
+     };
+ 
+     // Assign new named definition
+     parser[ name ] = parseFn;
+     
+     // Extend Popcorn.p with new named definition
+     Popcorn.extend( Popcorn.p, parser );
+     
+     // keys the function name by filetype extension
+     Popcorn.parsers[type] = name;
+ 
+     return parser;
+   };
+   
+   
+   var setup = {
+     url: '',
+     data: '',
+     dataType: '',
+     success: Popcorn.nop,
+     type: 'GET',
+     async: true, 
+     xhr: function()  {
+       return new global.XMLHttpRequest();
+     }
+   };   
+   
+   Popcorn.xhr = function ( options ) {
+ 
+     var settings = Popcorn.extend( {}, setup, options );
+ 
+     settings.ajax  = settings.xhr();
+     
+     if ( settings.ajax ) {
+ 
+       settings.ajax.open( settings.type, settings.url, settings.async ); 
+       settings.ajax.send( null ); 
+ 
+       return Popcorn.xhr.httpData( settings );
+     }       
+   };
+ 
+   
+   Popcorn.xhr.httpData = function ( settings ) {
+   
+     var data, json = null;  
+         
+     settings.ajax.onreadystatechange = function() {
+ 
+       if ( settings.ajax.readyState === 4 ) { 
+         
+         try {
+           json = JSON.parse(settings.ajax.responseText);
+         } catch(e) {
+           //suppress
+         }
+ 
+         data = {
+           xml: settings.ajax.responseXML, 
+           text: settings.ajax.responseText, 
+           json: json
+         };
+ 
+         settings.success.call( settings.ajax, data );
+         
+       } 
+     }; 
+     return data;  
+   };
+   
+   
+   
+   //  Exposes Popcorn to global context
+   global.Popcorn = Popcorn;
+   
+   document.addEventListener( "DOMContentLoaded", function () {
+ 
+     var videos = document.getElementsByTagName( "video" );
+ 
+     Popcorn.forEach( videos, function ( iter, key ) {
+ 
+       var video = videos[ key ],
+           dataSources, popcornVideo;
+ 
+       //  Ensure we're looking at a dom node and that it has an id
+       //  otherwise Popcorn won't be able to find the video element
+       if ( video.nodeType && video.nodeType === 1 && video.id ) {
+ 
+         dataSources = video.getAttribute( "data-timeline-sources" );
+       
+         //  If the video has data sources, continue to load
+         if ( dataSources ) {
+         
+           //  Set up the video and load in the datasources
+           popcornVideo = Popcorn( "#" + video.id ).parseXML( dataSources );
+ 
+           //  Only play the video if it was specified to do so
+           if ( !!popcornVideo.autoplay ) {
+             popcornVideo.play();
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2
            }
          }
        }
      });
++<<<<<<< HEAD
 +  };
 +
 +  document.addEventListener('DOMContentLoaded', init, false);
 +  
 +}());
 +
++=======
+   }, false );
+ 
+ })(window, window.document);
++>>>>>>> 1bbbbc011cb63ac2a33b7de34c1a52387d5963f2