<div id="credit_inner">
</div>
</div>
- <video width="530px" height="299px" src="http://a6.video3.blip.tv/0210003175398/Etherworks-WMMOGGVERSION204.ogv" data-timeline-sources="xml/webMadeMovies.xml" controls></video>
+ <video width="531px" height="299px" src="http://a6.video3.blip.tv/0210003175398/Etherworks-WMMOGGVERSION204.ogv" data-timeline-sources="xml/webMadeMovies.xml" controls></video>
<!-- Start Video Info -->
<div class="video-info">
<!-- Start Choose Language -->
<!-- Start Column A -->
<div class="columna">
<section>
- <h3><img src="images/logo_twitter.png" alt="Twitter Updates" width="" height="" />
- <span> </span></h3>
- <a href="#" class="collapse"><span>Collapse</span></a>
- <div id="personaltwitter" class="content"></div>
- </section>
+ <h3><img src="images/logo_twitter.png" alt="Twitter Updates" width="" height="" />
+ <span> </span></h3>
+ <a href="#" class="collapse"><span>Collapse</span></a>
+ <div id="personaltwitter" class="content"></div>
+ </section>
</div>
<!-- End Column A -->
<!-- Start Column B -->
<div class="columnb">
<section>
- <h3><img src="images/logo_flickr.png" alt="Flickr Images" width="" height="" />
- <span> </span></h3>
- <a href="#" class="collapse"><span>Collapse</span></a>
- <div id="personalflickr" class="content"></div>
- </section>
+ <h3><img src="images/logo_flickr.png" alt="Flickr Images" width="" height="" />
+ <span> </span></h3>
+ <a href="#" class="collapse"><span>Collapse</span></a>
+ <div id="personalflickr" class="content"></div>
+ </section>
</div>
<!-- End Column B -->
</div>
<!-- Start Column A -->
<div class="columna">
<section>
- <div id="container3" class="google-map-title">
+ <div id="container3" class="google-map-title">
<h4>Filmed in:</h4>
<span id="mapinfo"></span>
- </div>
+ </div>
+
+ <div id="container2" class="google-map"></div>
- <div id="container2" class="google-map"></div>
-
- </section>
+ </section>
<section>
- <h3><img src="images/logo_twitter.png" alt="Twitter" width="" height="" /></h3>
- <a href="#" class="collapse"><span>Collapse</span></a>
- <div id="twitter" class="content"></div>
- </section>
+ <h3><img src="images/logo_twitter.png" alt="Twitter" width="" height="" /></h3>
+ <a href="#" class="collapse"><span>Collapse</span></a>
+ <div id="twitter" class="content"></div>
+ </section>
</div>
<!-- End Column A -->
<!-- Start Column B -->
<div class="columnb">
<section>
- <h3><img src="images/logo_wiki.png" alt="Wikipedia" width="" height="" /></h3>
- <a href="#" class="collapse"><span>Collapse</span></a>
+ <h3><img src="images/logo_wiki.png" alt="Wikipedia" width="" height="" /></h3>
+ <a href="#" class="collapse"><span>Collapse</span></a>
- <div class="content">
- Use the #Evernote Fx Add-on to save, organize, & search info you find on the Web http://bit.ly/evernotewebclipper /via @rockyourfirefox
- <a href="#" class="more">more</a>
- </div>
- </section>
- <section>
- <h3><img src="images/logo_flickr.png" alt="Flickr Images" width="" height="" /></h3>
- <a href="#" class="collapse"><span>Collapse</span></a>
+ <div class="content" id="wikidiv">
- <div id="flickr" class="content"></div>
- </section>
+ </div>
+ </section>
+ <section>
+ <h3><img src="images/logo_flickr.png" alt="Flickr Images" width="" height="" /></h3>
+ <a href="#" class="collapse"><span>Collapse</span></a>
+ <div id="flickr" class="content"></div>
+ </section>
</div>
<!-- End Column B -->
<h1></h1>
<section>
- <h3><img src="images/logo_google_news.png" alt="Google News" width="" height="" />
- </h3>
- <div id="googlenewsdiv">
- </div>
- </section>
- <h1><span>This video's copyright information</span></h1>
+ <h3><img src="images/logo_google_news.png" alt="Google News" width="" height="" />
+ </h3>
+ <div id="googlenewsdiv">
+ </div>
+ </section>
+ <h1><span>This video's copyright information</span></h1>
<section>
- <div id="container5">
+ <div id="container5">
Attribution
</div>
- </section>
+ </section>
</div>
<!-- End Right Contents -->
</div>
<!-- End Contents -->
<footer>
- <div class="footer_webmade">
- <img src="images/footer_webmade.png" alt="footer_webmade" width="" height="" />
- <p>Web Made Movies is a Mozilla's Open video lab
- <a href="#">Learn More <span>»</span></a>
- </p>
- </div>
- <div class="footer_drumbeat">
- <img src="images/footer_drumbeat.png" alt="footer_drumbeat" width="" height="" /><p>Innovation on the open web, </br> powered by everybody.</p>
- </div>
+ <div class="footer_webmade">
+ <img src="images/footer_webmade.png" alt="footer_webmade" width="" height="" />
+ <p>Web Made Movies is a Mozilla's Open video lab
+ <a href="#">Learn More <span>»</span></a>
+ </p>
+ </div>
+ <div class="footer_drumbeat">
+ <img src="images/footer_drumbeat.png" alt="footer_drumbeat" width="" height="" /><p>Innovation on the open web, </br> powered by everybody.</p>
+ </div>
<div class="copyright">Portions of this content are ©2010 by individual drumbeat.org contributors. Content available under a Creative Commons license.</div>
</footer>
</div>
</div>
<!-- End Second Container Div -->
</body>
-</html>
+</html>
\ No newline at end of file
};
};
+ ////////////////////////////////////////////////////////////////////////////
+ // Lower third text Command
+ ////////////////////////////////////////////////////////////////////////////
+
+ var LowerThirdCommand = function(name, params, text, videoManager) {
+ VideoCommand.call(this, name, params, text, videoManager);
+
+ // Creates a div for all subtitles to use
+ if (!LowerThirdCommand.ltDiv) {
+ LowerThirdCommand.ltDiv = document.createElement('div');
+ 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;');
+ document.getElementById("videoContainer").appendChild(LowerThirdCommand.ltDiv);
+ }
+ this.onIn = function() {
+ $(LowerThirdCommand.ltDiv).css("text-align", (this.params.align || 'left'));
+ var i = document.getElementById("language").selectedIndex;
+ google.language.translate((this.params.salutation || ""), '', document.getElementById("language").options[i].getAttribute("val"), function(result) {
+ var span = document.createElement('span');
+ span.innerHTML = result.translation + " ";
+ span.setAttribute('style', 'font-size:26px;');
+ LowerThirdCommand.ltDiv.appendChild(span);
+ });
+ google.language.translate((this.params.name || ""), '', document.getElementById("language").options[i].getAttribute("val"), function(result) {
+ var span = document.createElement('span');
+ span.innerHTML = result.translation;
+ span.setAttribute('style', 'font-size:26px;');
+ LowerThirdCommand.ltDiv.appendChild(span);
+ });
+ google.language.translate((this.params.role || ""), '', document.getElementById("language").options[i].getAttribute("val"), function(result) {
+ LowerThirdCommand.ltDiv.innerHTML += "<br/>" + result.translation;
+ });
+ };
+ this.onOut = function() {
+ LowerThirdCommand.ltDiv.innerHTML = "";
+ };
+ };
+
////////////////////////////////////////////////////////////////////////////
// GoogleNews Command
////////////////////////////////////////////////////////////////////////////
this.target.setAttribute('style', 'display:none');
};
};
+
+ ////////////////////////////////////////////////////////////////////////////
+ // Wiki Command
+ ////////////////////////////////////////////////////////////////////////////
+
+ var WikiCommand = function(name, params, text, videoManager) {
+ VideoCommand.call(this, name, params, text, videoManager);
+
+ var src = this.params.src;
+ var length = this.params.numberOfWords;
+ // 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://en.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);
+ 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');
+ };
+ this.onOut = function() {
+ this.target.setAttribute('style', 'display:none');
+ };
+ };
////////////////////////////////////////////////////////////////////////////
// Footnote Command
////////////////////////////////////////////////////////////////////////////
create: function(name, params, text, videoManager) {
return new GoogleNewsCommand(name, params, text, videoManager);
}
+ },
+ wiki: {
+ create: function(name, params, text, videoManager) {
+ return new WikiCommand(name, params, text, videoManager);
+ }
+ },
+ lowerthird: {
+ create: function(name, params, text, videoManager) {
+ return new LowerThirdCommand(name, params, text, videoManager);
+ }
}
};
}, false);
}());
-
<places>
<place id="acc" type="building" name="Austin Convention Center">
<resource id="acchomepage" src="http://www.austinconventioncenter.com/" description="Austin Convention Center"/>
+ <resource id="accwiki" src="http://en.wikipedia.org/wiki/Austin_Convention_Center" description="Austin Convention Center Wiki"/>
</place>
<place id="saopaulo" type="city" name="Sao Paulo">
- <resource id="saupaulowiki" src="http://en.wikipedia.org/wiki/S%C3%A3o_Paulo" description="Sao Paulo city, Brazil"/>
+ <resource id="saupaulowiki" src="http://en.wikipedia.org/wiki/S%C3%A3o_Paulo" title="S%C3%A3o_Paulo" description="Sao Paulo city, Brazil"/>
</place>
</places>
<attributions>
<attribution id="attrib" nameofwork="A Shared Culture" copyrightholder="Jesse Dylan"
- license="CC-BY-NC-ND" licenseurl="http://creativecommons.org/licenses/by-nc/2.0/"/>
+ license="CC-BY-NC-ND" licenseurl="http://creativecommons.org/licenses/by-nc/2.0/"/>
</attributions>
+<articles>
+<resource id="theinternet" src="http://en.wikipedia.org/wiki/internet" description="The Internet"/>
+</articles>
</manifest>
-
- <articles>
- <resource id="theinternet" src="http://en.wikipedia.org/wiki/internet" description="The Internet"/>
- </articles>
-
+
<timeline>
<subtitles>
<subtitle in="00:00:05:00" out="00:00:07:00">Hello! My name is Celine Celine</subtitle>
<resources>
<twitter source="#oilspill" title="BP Oil Spill" target="twitter" width="238" height="160"/>
<twitter in="00:00:01:00" out="00:00:20:00" title="Celine Celine" source="from:celinecelines" target="personaltwitter" width="238" height="120"/>
- <popcorn>
- <manifest>
- <people>
- <person id="celine" name="Celine" salutation="Miss." >
- <resource id="celinehomepage" src="http://www.celinecelines.com/" description="Celine's Homepage" />
- <resource id="celinetwitter" src="http://twitter.com/celinecelines" description="Celine's Twitter" />
- </person>
- <person id="brian" name="brian" >
- <resource id="briantwitter" src="http://twitter.com/bchirls" description="Brian's twitter" />
- </person>
- <person id="mona" name="Mona" >
- <resource id="monahomepage" src="http://monakasra.com/" description="Mona's Homepage"/>
- </person>
- <person id="dave" name="Dave" >
- <resource id="davetwitter" src="http://twitter.com/academicdave" description="Dave's twitter" />
- </person>
- <person id="noah" name="Noah" >
- <resource id="noahtwitter" src="http://twitter.com/noahworkman" description="Noah's Twitter Feed" />
- </person>
- </people>
- <places>
- <place id="acc" type="building" name="Austin Convention Center">
- <resource id="acchomepage" src="http://www.austinconventioncenter.com/" description="Austin Convention Center"/>
- </place>
- <place id="saopaulo" type="city" name="Sao Paulo">
- <resource id="saupaulowiki" src="http://en.wikipedia.org/wiki/S%C3%A3o_Paulo" description="Sao Paulo city, Brazil"/>
- </place>
- </places>
- <attributions>
- <attribution id="attrib" nameofwork="A Shared Culture" copyrightholder="Jesse Dylan"
- license="CC-BY-NC-ND" licenseurl="http://creativecommons.org/licenses/by-nc/2.0/"/>
- </attributions>
- </manifest>
- <timeline>
- <subtitles>
- <subtitle in="00:00:05:00" out="00:00:07:00">Hello! My name is Celine Celine</subtitle>
- <subtitle in="00:00:07:00" out="00:00:09:00">And I help the Internet be easier</subtitle>
- <subtitle in="00:00:09:00" out="00:00:12:00">by making things easier</subtitle>
- <subtitle in="00:00:15:00" out="00:00:17:00">My name is Mona Kasra</subtitle>
- <subtitle in="00:00:17:00" out="00:00:19:00">and I'm building a better internet</subtitle>
- <subtitle in="00:00:32:00" out="00:00:34:00">I make the Internet better</subtitle>
- <subtitle in="00:00:34:00" out="00:00:36:00">producing and sharing music</subtitle>
- <subtitle in="00:36:00" out="00:38:00">using creative commons</subtitle>
- <subtitle in="00:00:42:00" out="00:00:44:00">I make the Internet better</subtitle>
- <subtitle in="00:00:44:00" out="00:00:46:00">because I fight for open educational resources</subtitle>
- <subtitle in="00:00:46:00" out="00:00:47:00">on the web</subtitle>
- <subtitle in="00:00:51:00" out="00:00:53:00">I make the Internet better</subtitle>
- <subtitle in="00:00:53:00" out="00:00:54.5:00">by hacking things</subtitle>
- <subtitle in="00:00:54.5:00" out="00:00:56:00">without using a single line of code</subtitle>
- <subtitle in="00:00:56:00" out="00:00:57:00">I make the Internet better</subtitle>
- <subtitle in="00:00:57:00" out="00:01:00:00">by changing the world of journalism</subtitle>
- <subtitle in="00:01:01:00" out="00:01:02:15">you can mobilize people</subtitle>
- <subtitle in="00:01:02:15" out="00:01:05:00">you don't need to have money anymore</subtitle>
- <subtitle in="00:01:05:00" out="00:01:08:00">or big structures</subtitle>
- <subtitle in="00:01:08:00" out="00:01:09:00">you can do everything at home with the Internet</subtitle>
- </subtitles>
- <footnotes>
- <footnote in="00:00:00" out="00:14:00" target="footnotediv"> This video made exclusively for drumbeat.org </footnote>
- </footnotes>
- <resources>
- <twitter source="#oilspill" title="BP Oil Spill" target="twitter" width="238" height="160"/>
- <twitter in="00:00:05:02" out="00:00:10:07" title="Steve Song" source="from:stevesong" target="personaltwitter" width="238" height="120"/>
- <twitter in="00:00:18:04" out="00:00:25:02" title="Keyboard Cat" source="#keyboardcat" target="twitter" width="238" height="120"/>
- <twitter in="00:00:28:09" out="00:00:29:07 source="#oilspill" title="BP Oil Spill" target="twitter" width="238" height="160"/>
- <twitter in="00:00:29:08" out="00:00:31:00" title="Steve Song" source="from:stevesong" target="personaltwitter" width="238" height="120"/>
-
- <attribution in="00:00:05:02" out="00:00:10:07" target="container5" resourceid="attrib">The Village Telco, Richard Mills</attribution>
- <attribution in="00:00:18:04" out="00:00:25:02" target="container5" resourceid="attrib">KeyBoard Cat, Charlie Schmidt</attribution>
- <attribution in="00:00:28:09" out="00:00:29:07" target="container5" resourceid="attrib">Grassroots Mapping, Tungsten Monkey</attribution>
-
+ <wiki in="00:00:02:00" out="00:00:15:00" resourceid="saupaulowiki" numberOfWords="200" target="wikidiv"/>
+ <wiki in="00:00:10:00" out="00:00:25:00" resourceid="accwiki" target="wikidiv"/>
+ <attribution in="00:00:1:00" out="00:40:00" target="container5" resourceid="attrib" />
<attribution in="00:42:00" out="00:00:48:00" target="container5">A Shared Culture, Jesse Dylan</attribution>
<flickr in="00:01:00" out="00:20:00" target="flickr" userid="13072070" numberofimages="8" padding="4px"/>
<wiki in="00:00:32:00" out="00:00:41:00" resourceid="theinternet" numberOfWords="200" target="wikidiv"/>
<videotag in="00:01:25:08" out="00:01:32:07">Village Telco Guy</videotag>
<videotag in="00:01:32:08" out="00:01:38:02">Charlie Schmidt</videotag>
<videotag in="00:01:38:02" out="00:01:41:10">Keyboard Cat</videotag>
- <videotag in="00:01:41:11" out="00:01:57:11">Charlie Schmidt</videotag>
- <videotag in="00:02:09:00" out="00:03:07:05">Jonathan Zittrain</videotag>
- <videotag in="00:03:09:00" out="00:03:16:00">NCSA guy</videotag>
- <videotag in="00:03:16:01" out="00:03:18:05">Computer Chronicles guy #1</videotag>
- <videotag in="00:03:16:02" out="00:03:21:00">Computer Chronicles guy #2</videotag>
- <videotag in="00:03:21:01" out="00:03:28:06">Computer Chronicles guy #3</videotag>
+ <videotag in="00:01:41:11" out="00:01:57:11">Charlie Schmidt</videotag>
+ <videotag in="00:02:09:00" out="00:03:07:05">Jonathan Zittrain</videotag>
+ <videotag in="00:03:09:00" out="00:03:16:00">NCSA guy</videotag>
+ <videotag in="00:03:16:01" out="00:03:18:05">Computer Chronicles guy #1</videotag>
+ <videotag in="00:03:16:02" out="00:03:21:00">Computer Chronicles guy #2</videotag>
+ <videotag in="00:03:21:01" out="00:03:28:06">Computer Chronicles guy #3</videotag>
<videotag in="00:03:43:00" out="00:03:56:00">Jonathan Zittrain</videotag>
<videotag in="00:03:59:00" out="00:04:03:05">Mona Kasra</videotag>
<videotag in="00:04:03:06" out="00:04:07:00">Noah Workman</videotag>
- <videotag in="00:04:03:06" out="00:04:13:01">Brazillian dude</videotag>
- <videotag in="00:04:13:02" out="00:04:19:05">Keechang Kim</videotag>
- <videotag in="00:04:19:06" out="00:04:24:01">Celine Celines</videotag>
+ <videotag in="00:04:03:06" out="00:04:13:01">Brazillian dude</videotag>
+ <videotag in="00:04:13:02" out="00:04:19:05">Keechang Kim</videotag>
+ <videotag in="00:04:19:06" out="00:04:24:01">Celine Celines</videotag>
</videotags>
<map>
<location id="CapeTown" resourceid="acchomepage" in="00:00:03:00" out="00:00:11:07" lat="-33.9238" long="18.4233" target="container2" zoom="8"/>
<location id="Grand Isle" resourceid="acchomepage" in="00:00:11:07" out="00:00:19:07" lat="29.2720" long="-90.0233 " target="container2" zoom="8"/>
<location id="MITMediaLab" resourceid="mitwiki" in="00:00:19:08" out="00:00:27:00" lat="42.3613" long="-71.0863" target="container2" zoom="12"/>
</map>
+ <credit><credits></credits></credit>
+ <news>
+ <googlenews in="00:05:00" out="00:10:00" target="googlenewsdiv"/>
+ <googlenews in="00:01:00" out="00:10:00" topic="oilspill" target="googlenewsdiv"/>
+ </news>
+ <lowerthird in="01" out="05" salutation="Mr." name="Scott" role="Rad Mobile" align="center"/>
</timeline>
</popcorn>
\ No newline at end of file