-<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>google.load("elements", "1", {packages : ["newsshow"]});</script>
- <script src="../../popcorn.js"></script>
- <link href="style.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
+<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>google.load("elements", "1", {packages : ["newsshow"]});</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 () {
}
})
}, 500);
+
+ $('.clickhere').click(function(){
+ $('.popup').fadeIn();
+ $('.pop-overlay').fadeIn()
+ });
- });
- </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>
+ $('.pop-overlay').click(function(){
+ $('.pop-overlay').fadeOut();
+ $('.popup').fadeOut();
+ });
+
- <!-- Start Login/Signup -->
- <nav id="login">
+ $('.close_btn').click(function(){
+ $('.pop-overlay').fadeOut();
+ $('.popup').fadeOut();
+ });
+
+ });
+
+
+
+ </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 id="videoContainer" class="video-div">
- <div id="credits" style="display:none">
- <div id="credit_inner">
- </div>
- </div>
- <video width="530px" height="299px" src="http://a55.video2.blip.tv/8080004989393/Etherworks-WMMOGGVERSION204.ogv?bri=2.7&brs=750" data-timeline-sources="xml/webMadeMovies.xml" controls></video>
- <!-- Start Video Info -->
- <div class="video-info">
- <!-- Start Choose Language -->
- <div class="choose-language">
- <h2>Choose your language</h2>
- <select id="language">
- <option val="zh">Chinese</option>
- <option val="en" selected="selected">English</option>
- <option val="fr">French</option>
- <option val="de">German</option>
- <option val="it">Italian</option>
- <option val="ja">Japanese</option>
- <option val="ko">Korean</option>
- <option val="fa">Persian</option>
- <option val="pl">Polish</option>
- <option val="pt">Portuguese</option>
- <option val="es">Spanish</option>
- </select>
- <div id="credit">
+ </nav> -->
+ <!-- End Login/Signup -->
+
+ <!-- Start Primary Links -->
+ <nav id="demo-info">
+ <ul>
+ <li><a href="javascript:void();" class="clickhere green"><img src="images/video_icon.png" alt="video_icon" width="" height="" />watch a video and learn more about this demo</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 id="videoContainer" class="video-div">
+ <div id="credits" style="display:none">
+ <div id="credit_inner">
+ </div>
+ </div>
+
+ <video width="530px" height="299px" data-timeline-sources="xml/webMadeMovies.xml" controls>
+ <source src="http://a55.video2.blip.tv/8080004989393/Etherworks-WMMOGGVERSION204.ogv?bri=2.7&brs=750" type='video/ogg; codecs="theora, vorbis"'>
+ </video>
+
+ <!-- Start Video Info -->
+ <div class="video-info">
+ <!-- Start Choose Language -->
+ <div class="choose-language">
+ <h2>Choose your language</h2>
+ <select id="language">
+ <option val="zh">Chinese</option>
+ <option val="en" selected="selected">English</option>
+ <option val="fr">French</option>
+ <option val="de">German</option>
+ <option val="it">Italian</option>
+ <option val="ja">Japanese</option>
+ <option val="ko">Korean</option>
+ <option val="fa">Persian</option>
+ <option val="pl">Polish</option>
+ <option val="pt">Portuguese</option>
+ <option val="es">Spanish</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><br />
+ <br />
+ <a href="http://google.com/translate">Google Translate</a> and <a href="http://jquery.com">
+ jQuery</a><br />
<input type="checkbox" id="accessibility" checked="checked" />All subtitles (accessibility)
- </div>
- </div>
+ </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 class="overlay"></div><div class="inactive"></div></div>
- </section>
+ <!-- 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 class="overlay"></div><div class="inactive"></div></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 class="overlay"></div><div class="inactive"></div></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 class="overlay"></div><div class="inactive"></div></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" id="wikidiv"><div class="overlay"></div><div class="inactive"></div></div>
- </section>
- <section>
- <h3><img src="images/logo_google_news.png" alt="Google News" width="" height="" />
+ </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 class="overlay"></div><div class="inactive"></div></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 class="overlay"></div><div class="inactive"></div></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" id="wikidiv"><div class="overlay"></div><div class="inactive"></div></div>
+ </section>
+ <section>
+ <h3><img src="images/logo_google_news.png" alt="Google News" width="" height="" />
</h3>
- <div id="googlenewsdiv"><div class="overlay"></div><div class="inactive"></div></div>
- </section>
- </div>
- <!-- End Column B -->
- <h1><span>This video's copyright information</span></h1>
- <section>
- <div id="container5"></div>
- </section>
- </div>
- <!-- End Right Contents -->
- </div>
- <!-- End Contents -->
- <footer>
- <div class="footer_drumbeat">
- <img src="images/footer_webmade.png" alt="footer_drumbeat" width="" height="" />
- <p>Web Made Movies is Mozilla's<br /> Open video lab<br />
- <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>
+ <div id="googlenewsdiv"><div class="overlay"></div><div class="inactive"></div></div>
+ </section>
+ </div>
+ <!-- End Column B -->
+ <h1><span>This video's copyright information</span></h1>
+ <section>
+ <div id="container5"></div>
+ </section>
+ </div>
+ <!-- End Right Contents -->
+ </div>
+ <!-- End Contents -->
+ <footer>
+ <div class="footer_drumbeat">
+ <img src="images/footer_webmade.png" alt="footer_drumbeat" width="" height="" />
+ <p>Web Made Movies is Mozilla's<br /> Open video lab<br />
+ <a href="http://www.drumbeat.org/webmademovies">Learn More and find the source code for this demo<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 -->
+
+
+<!-- Start Popup -->
+<div class="pop-overlay">
+</div>
+
+<div class="popup">
+<span class="close_btn">x</span>
+
+<div class="popup-content">
+<h1>Info about this page</h1>
+<p>This demo was created by Scott Downe, Anna Sobiepanek, Daniel Hodgin and Nick Cammarata and Brett Gaylor as part of Web Made Movies. To download the source code and find out how you can contribute, click on the Web Made Movies logo at the bottom of this page</p>.
+
+<p><b>Are you having trouble getting this demo to play?</b><br>
+This video will only play on modern browsers such as Firefox 3.5 and up and Safari. Unforutunately, as Internet Explorer does not currently support open video codecs, it won't work on that browser.
+</div>
+</div>
+
+<!-- End Popup -->
+
+</body>
+</html>
+
\ No newline at end of file
background: transparent;
}
+
+html, body{
+height: 100%;
+}
+
body {
line-height: 1;
font-family: Helvetica, Arial, "Lucida Grande";
header#global-header{
overflow: hidden;
padding: 10px 0;
+position: relative;
}
display: block;
}
-nav#primary-links{
-width:835px;
-float: right;
-padding: 20px 0 0 0;
+nav#demo-info{
+float: left;
+margin-left:101px;
+margin-top:27px;
+}
+
+a.clickhere{
+color: #FFF;
+padding: 7px 11px 7px 16px;
+display: block;
+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 */
+-moz-border-radius:8px;
+border-radius:8px;
+-webkit-border-radius:8px;
+font-size:21px;
+letter-spacing:1px;
+}
+
+a.clickhere:hover{
+background-image: -moz-linear-gradient(top, #ea362e, #ba1b13);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #ba1b13),color-stop(1, #ea362e));/* Safari & Chrome */
+}
+
+a.clickhere:active, a.clickhere:focus{
+background-image: -moz-linear-gradient(top, #cc433c, #e9726d);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #e9726d),color-stop(1, #cc433c));/* Safari & Chrome */
+}
+
+
+
+a.clickhere.green{
+background-image: -moz-linear-gradient(top, #05B276, #00A252);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #00A252),color-stop(1, #05B276));/* Safari & Chrome */
+}
+
+
+a.clickhere.green:hover{
+background-image: -moz-linear-gradient(top, #009d61, #009047);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #009047),color-stop(1, #009d61));/* Safari & Chrome */
+}
+
+a.clickhere.green:active,a.clickhere.green:focus{
+background-image: -moz-linear-gradient(top, #00A252, #05B276);/* Firefox 3.6 */
+background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #05B276),color-stop(1, #00A252));/* Safari & Chrome */
}
-nav#primary-links ul li{
+a.clickhere img{
float: left;
-padding:0 0 0 10px;
+margin:2px 14px 0 0;
}
-nav#primary-links ul li a{
+nav#demo-info ul li{
+padding:0 0 10px 0;
+}
+
+/* nav#demo-info ul li a{
display: block;
-moz-border-radius:8px;
border-radius:8px;
text-transform: lowercase;
}
-nav#primary-links ul li a:hover{
+nav#demo-info ul li a:hover{
opacity:.8;
-}
+}*/
-nav#primary-links ul{
+nav#demo-info ul{
float: right;
}
-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;
+padding: 5px 20px 6px 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;
+/*box-shadow:inset 0 0 1px #FFF;
+-moz-box-shadow:inset 0 1px 0 #6fb9db;*/
}
#contents h1 span p{
/* Left Content */
+.about-us{
+display: block;
+padding: 11px 14px 11px 11px;
+text-align: right;
+left:157px;
+top:41px;
+background: url(images/arro.png) no-repeat right 12px;
+position: absolute;
+font-size: 14px;
+}
+
+.about-us:hover{
+color: #d04c3e;
+background: url(images/arro.png) no-repeat right -21px;
+}
+
.video-div{
position:relative;
border: 2px solid #cc433c;
-webkit-box-shadow: -1px 1px 1px #d9d9d9;
-moz-box-shadow: -1px 1px 1px #d9d9d9;
box-shadow: -1px 1px 1px #d9d9d9;
+clear: both;
}
.video-div .video-info{
#credits li a:hover {
color:#FADBAF;
}
+
+
+/* Popup */
+
+.pop-overlay{
+display:block;
+height:100%;
+opacity:0.8;
+width:100%;
+background: #000;
+position: fixed;
+top:0;
+left: 0;
+z-index: 9002;
+display: none;
+}
+
+.popup{
+position: fixed;
+left: 50%;
+margin-left: -240px;
+top:15%;
+z-index: 10000;
+border: 10px solid #000;
+background: #FFF;
+-webkit-box-shadow: 3px 3px 6px #000;
+-moz-box-shadow:3px 3px 6px #000;
+box-shadow:3px 3px 6px #000;
+-moz-border-radius:6px;
+-webkit-border-radius:6px;
+border-radius:6px;
+width:480px;
+display: none;
+}
+
+.popup embed, .popup object{
+display:block;
+height:300px;
+overflow:hidden;
+position:relative;
+width:480px;
+z-index:99999;
+}
+
+
+.popup-content h1, .popup-content p{
+padding:5px 10px;
+line-height:17px;
+color: #FFF;
+opacity:0.8;
+}
+
+.popup-content h1{
+font-size: 15px;
+}
+
+.popup-content{
+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 */
+border-top:2px solid #CC433C;
+}
+
+.close_btn{
+-moz-border-radius:10px 10px 10px 10px;
+-moz-box-shadow:0 0 10px #353535;
+background:none repeat scroll 0 0 #353535;
+color:#FFFFFF;
+font-family:Helvetica,sans-serif;
+font-size:14px;
+font-weight:bold;
+height:23px;
+line-height:23px;
+position:absolute;
+right:-22px;
+text-align:center;
+text-decoration:none;
+top:-22px;
+width:23px;
+cursor: pointer;
+z-index: 999999;
+}
\ No newline at end of file