--- /dev/null
+<html>
+<head>
+ <title>html5 video demo</title>
+ <script src="http://code.jquery.com/jquery.js"></script>
+ <script src="http://google.com/jsapi"></script>
+ <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
+ <script src="http://widgets.twimg.com/j/2/widget.js"></script>
+ <script>google.load("language", "1");</script>
+ <script src="popcorn.js"></script>
+ <link href="style.css" rel="stylesheet" type="text/css" />
+ <script type="text/javascript">
+ $(document).ready(function () {
+ //Show hide the contents
+ $(".collapse").click(function () {
+ $(this).next(".content").slideToggle("fast");
+ });
+ //Swap class names
+ $(".collapse").toggle(function () {
+ $(this).addClass("expand");
+ }, function () {
+ $(this).removeClass("expand");
+ });
+ $(".collapse").toggle(function () {
+ $("span", this).text('Expand');
+ }, function () {
+ $("span", this).text('Collapse');
+ });
+ });
+ </script>
+</head>
+<body>
+ <!-- Start First Container Div -->
+ <div class="container-top">
+ <!-- Start Second Container Div -->
+ <div class="container-bot">
+ <!-- Start Wrapper Div -->
+ <div class="wrapper">
+ <!-- Start Header -->
+ <header id="global-header">
+ <a href="http://www.drumbeat.org/" class="logo"><img src="images/drumbeat_logo.png" alt="drumbeat_logo" width="" height="" /></a>
+
+ <!-- Start Login/Signup -->
+ <nav id="login">
+
+ <ul>
+ <li><a href="#">log in</a></li>
+ <li><a href="#">sign up</a></li>
+ </ul>
+ </nav>
+ <!-- End Login/Signup -->
+
+ <!-- Start Primary Links -->
+
+ <nav id="primary-links">
+ <ul>
+ <li><a title="" href="http://www.drumbeat.org/about">About</a></li>
+ <li><a title="" href="http://www.drumbeat.org/projects">Projects</a></li>
+ <li><a title="" href="http://www.drumbeat.org/people">People</a></li>
+ <li><a title="" href="http://www.drumbeat.org/events">Events</a></li>
+ <li><a title="" href="http://indofolio.com/civicrm/contribute/transact?reset=1&id=3?reset=1&id=3">Donate</a></li>
+ </ul>
+ </nav>
+ <!-- End Primary Links -->
+
+ </header>
+ <!-- End Header -->
+ <!-- Start Contents -->
+ <div id="contents">
+ <!-- Start Left Contents -->
+ <div class="left-content">
+ <!-- Start Video Div -->
+ <div class="video-div">
+ <video width="530px" height="299px" src="http://a52.video2.blip.tv/7320003802153/Etherworks-WebMadeMovies3BuildingABetterInternet799.ogg" data-timeline-sources="xml/webMadeMovies.xml" controls></video>
+ <div id="sub"></div>
+ <!-- Start Video Info -->
+ <div class="video-info">
+ <!-- Start Choose Language -->
+ <div class="choose-language">
+ <h2>
+ Choose your language</h2>
+ <select id="language">
+ <option val="en">English</option>
+ <option val="es">Spanish</option>
+ <option val="fr">French</option>
+ <option val="de">German</option>
+ <option val="ja">Japanese</option>
+ </select>
+ <div id="credit">
+ with help from
+ <br />
+ <a href="http://google.com/translate">Google Translate</a> and <a href="http://jquery.com">
+ jQuery</a>
+ </div>
+ </div>
+ <!-- End Choose Language -->
+ <!-- Start Foot Notes -->
+ <div class="foot-notes">
+ <h2>
+ This video's footnotes</h2>
+ <p id="footnotediv">
+ </p>
+ </div>
+ <!-- End Foot Notes -->
+ </div>
+ <!-- End Video Info -->
+ </div>
+ <!-- End Video Div -->
+ <h1>
+ <span>In this video: <strong id="inthisvideo"></strong></span>
+ </h1>
+ <!-- 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>
+
+ </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">
+ <a href="#" class="more">more</a>
+ </div>
+ </section>
+ </div>
+ <!-- End Column B -->
+ </div>
+ <!-- End Left Contents -->
+ <!-- Start Right Contents -->
+ <div class="right-content">
+ <h1>
+ <span>Related to this video</span></h1>
+ <!-- Start Column A -->
+ <div class="columna">
+ <section>
+ <div id="container3" class="google-map-title">
+ <h4>Filmed in:</h4>
+ <span id="mapinfo">
+ </span>
+ </div>
+
+ <div id="container2" class="google-map">
+ </div>
+
+ </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>
+ </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>
+
+ <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 id="flickr" class="content">
+ <a href="#" class="more">more</a>
+ </div>
+ </section>
+ <section>
+ <h3><img src="images/logo_google_news.png" alt="Google News" 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>
+ </div>
+ <!-- End Column B -->
+ <h1>
+ <span>This videos copyright information</span></h1>
+ <section>
+ <div id="container5">
+ Attribution
+ </div>
+ </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="copyright">Portions of this content are ©2010 by individual drumbeat.org contributors. Content available under a Creative Commons license.</div>
+</footer>
+ </div>
+ <!-- End Wrapper Div -->
+ </div>
+ <!-- End First Container Div -->
+ </div>
+ <!-- End Second Container Div -->
+</body>
+</html>
this.onIn = function() {
MapCommand.map.setCenter(this.location);
MapCommand.map.setZoom(this.params.zoom);
- var txt = document.createTextNode("Filmed in: ");
var link = document.createElement("a");
link.setAttribute("href", this.params.src);
link.setAttribute("target", "_new");
link.appendChild(document.createTextNode(this.params.description));
- document.getElementById('mapinfo').appendChild(txt);
document.getElementById('mapinfo').appendChild(link);
};
this.onOut = function() {
this.target = document.createElement('div');
this.target.setAttribute('id', this.id);
document.getElementById(this.params.target).appendChild(this.target);
+
// Div is hidden by default
this.target.setAttribute('style', 'display:none');
new TWTR.Widget({
title: this.params.title || null,
subject: this.params.subject || null,
rpp: 30,
- width: 250,
- height: 200,
+ width: this.params.width || 250,
+ height: this.params.height || 200,
interval: 6000,
theme: {
shell: {
--- /dev/null
+html, body, div, span, object,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-size: 100%;
+ vertical-align: baseline;
+ background: transparent;
+
+}
+body {
+ line-height: 1;
+ font-family: Helvetica, Arial, "Lucida Grande";
+ font-size: 12px;
+}
+ol, ul {
+ list-style: none;
+}
+blockquote, q {
+ quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: '';
+ content: none;
+}
+
+/* remember to define focus styles! */
+:focus {
+ outline: 0;
+}
+
+/* remember to highlight inserts somehow! */
+ins {
+ text-decoration: none;
+}
+del {
+ text-decoration: line-through;
+}
+
+/* tables still need 'cellspacing="0"' in the markup */
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+a{
+text-decoration: none;
+color: #cc433d;
+}
+
+a:hover{
+color: #f27c77;
+}
+
+input[type="button"], input[type="submit"], input[type="reset"], button{
+cursor: pointer;
+}
+
+input[type="text"], textarea{
+-moz-border-radius:13px;
+-webkit-border-radius:13px;
+border-radius:13px;
+border:1px solid #E2E2E2;
+padding: 5px;
+-webkit-box-shadow: 1px 1px 0px #f9f9f9;
+-moz-box-shadow:inset 1px 1px 0px #f9f9f9;
+box-shadow:inset 1px 1px 0px #f9f9f9;
+font-size: 13px;
+}
+
+input[type="text"]{
+padding: 0 5px;
+height: 28px;
+line-height: 28px;
+}
+
+input[type="text"]:hover, textarea:hover{
+border-color: #CCC;
+-moz-box-shadow:inset 1px 1px 0px #e2e2e2;
+box-shadow:inset 1px 1px 0px #e2e2e2;
+}
+
+input[type="text"]:focus, textarea:focus{
+-webkit-box-shadow: 0px 0px 5px #d6ecd6;
+-moz-box-shadow: 0px 0px 5px #d6ecd6;
+box-shadow: 0px 0px 5px #d6ecd6;
+}
+
+header, footer, nav, article, section {display:block;}
+
+select{
+font-size: 14px;
+}
+
+h2{
+font-size:15px;
+}
+
+/* Layout */
+
+body{
+background: #f8f8f8 url(images/body_bg.jpg) repeat-x center top;
+}
+
+.wrapper{
+width:1090px;
+margin:0 auto;
+min-height:880px;
+background: url(images/header.jpg) no-repeat center top;
+}
+
+.container-bot, .container-top{
+width:100%;
+overflow: hidden;
+}
+
+.container-top{
+background: url(images/footer_bg.jpg) repeat-x center bottom;
+}
+
+.container-bot{
+background: url(images/footer.jpg) repeat-x center bottom;
+}
+
+
+/* Header */
+
+header#global-header{
+overflow: hidden;
+padding: 10px 0;
+}
+
+
+a.logo{
+float: left;
+display: block;
+}
+
+nav#primary-links{
+width:835px;
+float: right;
+padding: 20px 0 0 0;
+}
+
+
+nav#primary-links ul li{
+float: left;
+padding:0 0 0 10px;
+}
+
+nav#primary-links ul li a{
+display: block;
+-moz-border-radius:8px;
+border-radius:8px;
+-webkit-border-radius:8px;
+background:none repeat scroll 0 0 #969089;
+color:#FFFFFF;
+font-size: 20px;
+padding: 5px 10px;
+text-transform: lowercase;
+}
+
+nav#primary-links ul li a:hover{
+opacity:.8;
+}
+
+nav#primary-links ul{
+float: right;
+}
+
+nav#login{
+float:right;
+font-size:12px;
+width:90px;
+}
+
+nav#login a{
+color: #333;
+}
+
+nav#login a:hover{
+color: #000;
+}
+
+nav#login ul li{
+float: left;
+padding-left: 10px;
+}
+
+.left-content, .right-content{
+width:534px;
+float: left;
+}
+
+.right-content{
+float: right;
+}
+
+#contents h1{
+padding-bottom: 15px;
+background: url(images/bubble_pointer.png) no-repeat 10px 24px;
+clear: both;
+}
+
+#contents h1 span{
+border: 1px solid #9f9f9f;
+background-color:#1c749d;
+-moz-border-radius:8px;
+border-radius:8px;
+-webkit-border-radius:8px;
+background-image: -moz-linear-gradient(top, #3d96c0, #1a729b);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #1a729b),color-stop(1, #3d96c0));/* Safari & Chrome */
+padding: 4px 20px 4px 12px;
+min-width:300px;
+font-size:15px;
+color: #FFF;
+font-weight: normal;
+display: inline-block;
+border-bottom-color: #1c749d;
+box-shadow:inset 0 0 1px #FFF;
+-moz-box-shadow:inset 0 1px 0 #6fb9db;
+}
+
+#contents h1 span p{
+display: inline;
+}
+
+/* Left Content */
+
+.video-div{
+border: 2px solid #cc433c;
+margin-bottom: 15px;
+-webkit-box-shadow: -1px 1px 1px #d9d9d9;
+-moz-box-shadow: -1px 1px 1px #d9d9d9;
+box-shadow: -1px 1px 1px #d9d9d9;
+}
+
+.video-div .video-info{
+padding: 10px;
+background-color: #cc433c;
+background-image: -moz-linear-gradient(top, #e9726d, #cc433c);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #cc433c),color-stop(1, #e9726d));/* Safari & Chrome */
+position: relative;
+}
+
+.video-div .video-info .foot-notes{
+width:332px;
+height:90px;
+position: absolute;
+right:-9px;
+top:3px;
+background: url(images/footnote.png) no-repeat 0 0;
+}
+
+.video-div .video-info .foot-notes h2{
+color:#cc5236;
+padding:13px 10px 0;
+}
+
+.video-div .video-info .foot-notes p{
+padding: 10px 27px 10px 10px;
+}
+
+.choose-language h2, .choose-language div{
+color: #FFF;
+opacity:.8;
+}
+
+.choose-language h2{
+font-size: 15px;
+padding-bottom: 5px;
+}
+
+.choose-language a{
+font-weight: bold;
+color: #FFF;
+text-decoration: underline;
+}
+
+.choose-language a:hover{
+opacity:1;
+}
+
+#credit{
+padding: 5px 0;
+}
+
+.choose-language select, .choose-language select *{
+color: #000;
+}
+
+/* Sections */
+
+.columna, .columnb{
+width:260px;
+float: left;
+}
+
+.columnb{
+float: right;
+}
+
+section{
+padding: 10px;
+background: #FFF;
+position: relative;
+-webkit-box-shadow: -1px 1px 1px #d9d9d9;
+-moz-box-shadow: -1px 1px 1px #d9d9d9;
+box-shadow: -1px 1px 1px #d9d9d9;
+border: 1px solid #d9d9d9;
+margin-bottom: 15px;
+}
+
+section:hover{
+-webkit-box-shadow: -1px 1px 1px #bdc7c6;
+-moz-box-shadow: -1px 1px 1px #bdc7c6;
+box-shadow: -1px 1px 1px #bdc7c6;
+border: 1px solid #333;
+-moz-transform: scale(1.02);-webkit-transform: scale(1.02);
+z-index: 999;
+background: #FFF;
+}
+
+section h3{
+padding-bottom: 8px;
+min-height:18px;
+}
+
+section .content{
+padding-top: 8px;
+border-top:1px dotted #dddddd;
+line-height: 15px;
+color: #666;
+}
+
+section:hover .content{
+color: #000;
+}
+
+section h3 img{
+display: block;
+}
+
+a.more{
+font-weight: bold;
+font-style: italic;
+display: block;
+text-align: right;
+}
+
+section h3 span{
+font-weight: normal;
+padding: 3px 0 0 0;
+display: block;
+color: #666;
+font-size: 11px;
+}
+
+section a.collapse, section a.expand{
+display: block;
+position: absolute;
+text-transform: uppercase;
+font-size: 8px;
+top:10px;
+right:10px;
+padding: 5px 0 5px 5px;
+letter-spacing: 1px;
+border: 1px solid #e3e3e3;
+background-image: -moz-linear-gradient(top, #FFFFFF, #f5f5f5);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #f5f5f5),color-stop(1, #FFFFFF));/* Safari & Chrome */
+-moz-border-radius:8px;
+border-radius:8px;
+-webkit-border-radius:8px;
+line-height: 7px;
+color: #333;
+}
+
+section a.collapse:hover, section a.expand:hover{
+background-image: -moz-linear-gradient(top, #FFFFFF, #FAFAFA);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #FAFAFA),color-stop(1, #FFFFFF));/* Safari & Chrome */
+color: #000;
+}
+
+
+section a.collapse:active,
+section a.expand:active{
+background-image: -moz-linear-gradient(top, #f5f5f5, #FFFFFF);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #FFFFFF),color-stop(1, #f5f5f5));/* Safari & Chrome */
+}
+
+section a.collapse span, section a.expand span{
+padding: 0 15px 0 0;
+background: url(images/expand_collapse.png) no-repeat 93% 1px;
+}
+
+section a.expand span{
+background: url(images/expand_collapse.png) no-repeat 93% -12px;
+}
+
+.google-map-title h4{
+font-size:14px;
+float: left;
+padding-right: 15px;
+}
+
+.google-map-title span{
+float: left;
+display: block;
+}
+
+.google-map-title{
+height: 35px;
+clear: both;
+}
+
+.google-map{
+clear: both;
+height:250px;
+border:1px solid #E2E2E2;
+background: #F2F2F2;
+}
+
+/*Footer */
+
+footer{
+clear: both;
+}
+
+footer .copyright{
+padding: 20px;
+text-align: center;
+clear: both;
+background: url(images/footer_border.jpg) no-repeat center top;
+}
+
+footer .footer_webmade, footer .footer_drumbeat{
+float: left;
+padding: 10px;
+}
+
+footer .footer_webmade{
+width:570px;
+}
+
+footer .footer_webmade *{
+font-size:18px;
+}
+
+footer .footer_drumbeat *{
+font-size:15px;
+}
+
+footer .footer_webmade a{
+display: block;
+font-size:14px;
+}
+
+footer .footer_webmade a span{
+font-family: Arial, Helvetica, Verdana;
+}
+
+footer img{
+float: left;
+margin-right: 15px;
+}
+
+footer .footer_webmade img{
+margin-top: -15px;
+margin-left: 50px;
+}
+
+footer p{
+padding: 20px;
+}
+
+footer .footer_drumbeat{
+width:480px;
+}
+
+#sub {
+position:absolute;
+top:350px;
+left:300px;
+color:white;
+font-weight:bold;
+font-family:sans-serif;
+text-shadow:black 1px 1px 3px;
+width:820px;
+font-size:22px;
+}
\ No newline at end of file
<footnote in="00:00:00" out="00:14:00" target="footnotediv"> This video made exclusively for drumbeat.org </footnote>
</footnotes>
<resources>
- <twitter source="#oilspill" subject="Oilspill" title="this is a title" target="twitter"/>
- <twitter in="00:00:01:00" out="00:00:20:00" subject="Celine Celine" source="from:celinecelines" target="twitter"/>
- <attribution in="00:00:1:00" out="00:40:00" target="attributiondiv" resourceid="attrib" />
- <attribution in="00:42:00" out="00:00:48:00" target="attributiondiv">A Shared Culture, Jesse Dylan</attribution>
+ <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"/>
+ <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"/>
</resources>
<videotags>
<videotag in="00:00:03:00" out="00:00:14:00">Celine Celine</videotag>
<videotag in="00:00:39:00" out="00:00:41:00">Celine Celine</videotag>
</videotags>
<map>
- <location id="mapacc" resourceid="acchomepage" in="00:00:11:00" out="00:00:32:00" lat="30.1580" long="-97.7388" target="map" zoom="8"/>
- <location id="mapsaopaulo" resourceid="saupaulowiki" in="00:00:32:00" out="00:01:00:00" lat="-23.55" long="-46.6388" target="map" zoom="6"/>
+ <location id="mapacc" resourceid="acchomepage" in="00:00:01:00" out="00:00:32:00" lat="30.1580" long="-97.7388" target="container2" zoom="8"/>
+ <location id="mapsaopaulo" resourceid="saupaulowiki" in="00:00:32:00" out="00:01:00:00" lat="-23.55" long="-46.6388" target="container2" zoom="6"/>
</map>
- <flick>
- <flickr in="00:01:00" out="00:20:00" target="flickr" userid="13072070" numberofimages="10"/>
- </flick>
</timeline>
</popcorn>