From: Anna Sobiepanek Date: Wed, 4 Aug 2010 20:02:34 +0000 (-0400) Subject: added demo dir X-Git-Tag: v0.1~34 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=227bfd1c0632f7a22e7e7c857c33aca3460138d4;p=popcorn-js.git added demo dir --- diff --git a/demos/semantic_video/images/body_bg.jpg b/demos/semantic_video/images/body_bg.jpg new file mode 100644 index 0000000..93d84ae Binary files /dev/null and b/demos/semantic_video/images/body_bg.jpg differ diff --git a/demos/semantic_video/images/bubble_pointer.png b/demos/semantic_video/images/bubble_pointer.png new file mode 100644 index 0000000..a872790 Binary files /dev/null and b/demos/semantic_video/images/bubble_pointer.png differ diff --git a/demos/semantic_video/images/drumbeat_logo.png b/demos/semantic_video/images/drumbeat_logo.png new file mode 100644 index 0000000..2505ed6 Binary files /dev/null and b/demos/semantic_video/images/drumbeat_logo.png differ diff --git a/demos/semantic_video/images/expand_collapse.png b/demos/semantic_video/images/expand_collapse.png new file mode 100644 index 0000000..30307cb Binary files /dev/null and b/demos/semantic_video/images/expand_collapse.png differ diff --git a/demos/semantic_video/images/footer.jpg b/demos/semantic_video/images/footer.jpg new file mode 100644 index 0000000..89020f8 Binary files /dev/null and b/demos/semantic_video/images/footer.jpg differ diff --git a/demos/semantic_video/images/footer_bg.jpg b/demos/semantic_video/images/footer_bg.jpg new file mode 100644 index 0000000..c352020 Binary files /dev/null and b/demos/semantic_video/images/footer_bg.jpg differ diff --git a/demos/semantic_video/images/footer_border.jpg b/demos/semantic_video/images/footer_border.jpg new file mode 100644 index 0000000..3b81f37 Binary files /dev/null and b/demos/semantic_video/images/footer_border.jpg differ diff --git a/demos/semantic_video/images/footer_drumbeat.png b/demos/semantic_video/images/footer_drumbeat.png new file mode 100644 index 0000000..8429e16 Binary files /dev/null and b/demos/semantic_video/images/footer_drumbeat.png differ diff --git a/demos/semantic_video/images/footer_webmade.png b/demos/semantic_video/images/footer_webmade.png new file mode 100644 index 0000000..1a89437 Binary files /dev/null and b/demos/semantic_video/images/footer_webmade.png differ diff --git a/demos/semantic_video/images/footnote.png b/demos/semantic_video/images/footnote.png new file mode 100644 index 0000000..cb4dfe1 Binary files /dev/null and b/demos/semantic_video/images/footnote.png differ diff --git a/demos/semantic_video/images/header.jpg b/demos/semantic_video/images/header.jpg new file mode 100644 index 0000000..df6db9f Binary files /dev/null and b/demos/semantic_video/images/header.jpg differ diff --git a/demos/semantic_video/images/logo_flickr.png b/demos/semantic_video/images/logo_flickr.png new file mode 100644 index 0000000..4c32e04 Binary files /dev/null and b/demos/semantic_video/images/logo_flickr.png differ diff --git a/demos/semantic_video/images/logo_google_news.png b/demos/semantic_video/images/logo_google_news.png new file mode 100644 index 0000000..b21b4e5 Binary files /dev/null and b/demos/semantic_video/images/logo_google_news.png differ diff --git a/demos/semantic_video/images/logo_tumblr.png b/demos/semantic_video/images/logo_tumblr.png new file mode 100644 index 0000000..cf8c239 Binary files /dev/null and b/demos/semantic_video/images/logo_tumblr.png differ diff --git a/demos/semantic_video/images/logo_twitter.png b/demos/semantic_video/images/logo_twitter.png new file mode 100644 index 0000000..341b78b Binary files /dev/null and b/demos/semantic_video/images/logo_twitter.png differ diff --git a/demos/semantic_video/images/logo_wiki.png b/demos/semantic_video/images/logo_wiki.png new file mode 100644 index 0000000..f9ad73a Binary files /dev/null and b/demos/semantic_video/images/logo_wiki.png differ diff --git a/demos/semantic_video/images/overlay/.DS_Store b/demos/semantic_video/images/overlay/.DS_Store new file mode 100644 index 0000000..4e507a1 Binary files /dev/null and b/demos/semantic_video/images/overlay/.DS_Store differ diff --git a/demos/semantic_video/images/overlay/flickr.png b/demos/semantic_video/images/overlay/flickr.png new file mode 100644 index 0000000..c877f57 Binary files /dev/null and b/demos/semantic_video/images/overlay/flickr.png differ diff --git a/demos/semantic_video/images/overlay/footnote.png b/demos/semantic_video/images/overlay/footnote.png new file mode 100644 index 0000000..507d633 Binary files /dev/null and b/demos/semantic_video/images/overlay/footnote.png differ diff --git a/demos/semantic_video/images/overlay/location.png b/demos/semantic_video/images/overlay/location.png new file mode 100644 index 0000000..55b4fcd Binary files /dev/null and b/demos/semantic_video/images/overlay/location.png differ diff --git a/demos/semantic_video/images/overlay/twitter.png b/demos/semantic_video/images/overlay/twitter.png new file mode 100644 index 0000000..1c4b87a Binary files /dev/null and b/demos/semantic_video/images/overlay/twitter.png differ diff --git a/demos/semantic_video/images/overlay/wiki.png b/demos/semantic_video/images/overlay/wiki.png new file mode 100644 index 0000000..e2200ee Binary files /dev/null and b/demos/semantic_video/images/overlay/wiki.png differ diff --git a/demos/semantic_video/index.html b/demos/semantic_video/index.html new file mode 100644 index 0000000..24a39da --- /dev/null +++ b/demos/semantic_video/index.html @@ -0,0 +1,221 @@ + + + html5 video demo + + + + + + + + + + + + + +
+ +
+ +
+ + + + +
+ +
+ +
+ + + +
+ +
+

Choose your language

+ +
+ with help from +
+ Google Translate and + jQuery
+ All subtitles (accessibility) +
+
+ + + +
+

+ This video's footnotes

+

+
+ +
+ +
+ +

+ In this video: +

+ +
+
+

Twitter Updates +  

+ Collapse +
+
+ +
+ + +
+
+

Flickr Images +  

+ Collapse +
+
+
+ +
+ + +
+

+ Related to this video

+ +
+
+
+

Filmed in:

+ +
+ +
+ +
+
+

Twitter

+ Collapse +
+
+
+ + +
+
+

Wikipedia

+ Collapse +
+
+
+

Google News +

+
+
+
+ +

This video's copyright information

+
+
+
+
+ +
+ +
+ + + +
+
+ +
+ +
+ + + diff --git a/demos/semantic_video/style.css b/demos/semantic_video/style.css new file mode 100644 index 0000000..01d6c71 --- /dev/null +++ b/demos/semantic_video/style.css @@ -0,0 +1,600 @@ +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{ +position:relative; +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; +} + +.twtr-ft{ +display:none !important; +} + +.gns-sstitle, .gns-sstitle-link{ +font-size:12px; +} + +.gns-root{ +width:238px !important; +height:216px !important; +} +.gns-clusterresults, .gns-pausable{ +width:82px !important; +} + +.gns-title-link, .gns-publisher-link, .gns-cluster-publishers, .gns-cluster-link, .gns-linktrackable, .gns-cluster, .gns-clearim, .gns-poweredby{ +display:none !important; +} + +.gns-result, .gns-linktrackable, .gns-qtitle, .gns-snippet{ +width:220px !important; +} + +.gns-cursorcontrols{ +width:236px !important; +} + +.gns-basecanvas{ +width:236px !important; +height:214px !important; +background-image:none !important; +} + +.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; +} + +.overlay{ +z-index: 9001; +display: none; +top: 0px; +left: 0px; +opacity: 0.2; +filter: alpha(opacity=20); +height: 100%; +width: 100%; +background: red; +position: absolute; +} + +.inactive{ +z-index: 9001; +display: inline; +top: 0px; +left: 0px; +opacity: 0.2; +filter: alpha(opacity=20); +height: 100%; +width: 100%; +background: grey; +position: absolute; +} + +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; +} + +/* Credits */ +#credits { +position:absolute; +overflow:hidden; +background-color:#333; +border-left:1px solid #333; +} + +#credits .column { +float:left; +position:absolute; +height:100%; +top:0px; +margin:0px; +padding:0px; +background-color:#555; +overflow:auto; +border-right:1px #666 solid; +} + +#credits li { + list-style-type:none; +} +#credits li.selected { border-left:2px solid #FADBAF; } + +#credits li a { + display:block; + text-decoration:none; + color:#efefef; + font-weight:bold; + font-family:sans-serif; + text-shadow:black 1px 1px 3px; + padding:12px 14px; + border-bottom:1px solid #666; +} + +#credits li a:hover { + color:#FADBAF; +} diff --git a/demos/semantic_video/xml/webMadeMovies.xml b/demos/semantic_video/xml/webMadeMovies.xml new file mode 100644 index 0000000..0228524 --- /dev/null +++ b/demos/semantic_video/xml/webMadeMovies.xml @@ -0,0 +1,320 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Look around the page as info is updated! + + + This video made exclusively for drumbeat.org + Steve Song + + + + + + + + + Grassroots Mapping, Tungsten Monkey + + Keyboard Cat + + KeyBoard Cat, Charlie Schmidt + + + Jeffrey Warren + Grassroots Mapping, Tungsten Monkey + Village Telco Guy + + + + + Jeffrey Warren + + + + + + Learn more about Grass Roots mapping at www.grassrootsmapping.org + + + + + Michael Adeyeye + + Charlie Schmidt + + + Keyboard Cat + Charlie Schmidt + + Jonathan Zittrain + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NCSA guy + Computer Chronicles guy #1 + Computer Chronicles guy #2 + Computer Chronicles guy #3 + + Jonathan Zittrain + + Read Zittrain's book 'The Future of the Internet — And How to Stop It' + + Mona Kasra + Noah Workman + + Wilken Sanches + + Keechang Kim + + Celine Celines + + + + + + + + + + + + + + + + + + All right let's take a look and show me some + of the neat things you can do on the Internet + Have you ever wondered if there is a common thread + that exists between open source + phone hackers in South Africa, + adventurers using kites to map an oil spill, + and a video of a cat seen by tens of millions of people? + Well it's the Internet + the cat, the kite, and the phone hackers + would all be impossible without the Internet + an open network that lets anyone + participate without asking permission. + The Internet is what lets M.I.T student Jeffrey Warren + use kites to map an oil spill. + well wait a second why do we have to go all the way + into space to take pictures of things + that are right, literally right next to us, you know. + We can use simple tools like balloons or kites. + Have the camera taking pictures every five seconds + the idea is to get a lot of people involved + in producing maps and then share all of the information + like Wikipedia style you know? + The Internet is what allows Steve Song and his friends + to create a D.I.Y. phone network + called the Village Telco. + Everyone that has a device, that we call a mesh potato, + actually has a phone number + and can call anyone else on the mesh at no charge. + So taking open-source principles to a telephone company. + Everything is open, anyone can come and anyone can join + anyone can make contributions + and that's why I'm here. + The Internet is what allowed Charlie Schmidt + to film his cat on his keyboard + and the rest is history. + I remember having two profound thoughts back to back + and the first one was any pervert in his basement + can compete with NBC. + And then I thought, ohh I am that pervert in his basement. + It wasn't always this way + before the web our computers could only network + through a series of walled gardens, and we had to ask + permission to publish our content or create new services. + There were some big companies in there that thought + they would run the mainframes that we + might be mediating data through. + CompuServe, America Online, The Source, + MCI Mail,Prodigy. + if you go to CompuServe, + you'll get whatever CompuServe has put under its roof. + If you subscribe to AOL you'll get whatever AOL has. + Prodigy even has a twenty-one volume electronic + encyclopedia that's updated quarterly + including thirty messages. + Alright, Prodigy :D + No one really factored in that off in a quiet corner, + there were tinkerers doing foundational technologies + for networking, + and they had a certain freedom that the firms didn't have. + You didn't have to do a business development deal + with the owner of the Internet... + before you could put up a website. + So that's what allowed Tim Berners-Lee + to develop a protocol for an application, + that would just run on top of the Internet, + called the web. + And then he was like, OK world go to it. + Ordinary people are becoming electronic publishers. + They are putting up the things + that mean something to them + and they want to share it with the rest of the world. + Why is it better than CompuServe or Prodigy? + That anyone can put any servers on + and have it do anything they want. + In fact most browsers have the ability + for you to view that source code. + I can go in then and start changing it + myself for free. Ok great. + Listen there’s even an encyclopedia + Awesome. All right. + We owe everything about the Internet + to the fact that its open. + And the hacker spirit that the people + who created it believed it. + But all that could change. + The way things are… are not the way + things will inevitably be. + The Internet itself is evolving + and can be pushed + in one direction or another. + And some futures are much better than others. + It’s great to have the example of the World Wide Web. + It’s great to have the example of Wikipedia. + There’s more where that came from. + + And I help make a better Internet + By making things easier to use + At Web Made Movies + we want to build a better Internet + by making video more open. + The page your watching is a good example + We’re going to keep exploring how video + can be more like the web. + And tell the story of some web heroes + along the way. + Explore our credits section to see + how you can get involved. + + + + + My name is Mona Kasra + and I'm building a better Internet + + + I make the Internet better + producing and sharing music + using Creative Commons + + + + +