]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
#77 #78 #79 all links open in new tab, subtitle formatting, and subtitles on by default
authorDaniel Hodgin <hodgin.daniel@gmail.com>
Mon, 5 Jul 2010 17:01:20 +0000 (13:01 -0400)
committerDaniel Hodgin <hodgin.daniel@gmail.com>
Mon, 5 Jul 2010 17:01:20 +0000 (13:01 -0400)
index.html
popcorn.js
xml/webMadeMovies.xml

index 54080249b4a0be715e682c3f0943fc633039705d..ab8f566740ca252b84667be850f73f1c833892a9 100644 (file)
@@ -89,7 +89,7 @@
                 <div id="credit_inner">
                 </div>
               </div>
-              <video width="531px" 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://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 -->
                       <br />
                       <a href="http://google.com/translate">Google Translate</a> and <a href="http://jquery.com">
                         jQuery</a><br />
-                      <input type="checkbox" id="accessibility">All subtitles (accessibility)</input>
+                      <input type="checkbox" id="accessibility" checked="checked">All subtitles (accessibility)</input>
                     </div>
                   </div>
                  
           </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
+            <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>&raquo;</span></a>
             </p>
             </div>
index aaafd50915450e73b513576cb0dcaa49e0b80fa2..9b635c259112f9980fe8ecacef3cb8ec90ce4d2a 100644 (file)
       ]
     };
     var newsShow = new google.elements.NewsShow(content, options);
+
     this.onIn = function() {
       this.target.setAttribute('style', 'display:inline');
+      $("a").each(function() {
+        this.setAttribute('target', '_blank');
+      });
     };
     this.onOut = function() {
       this.target.setAttribute('style', 'display:none');
       if (this.params.src) {
         var link = document.createElement("a");
         link.setAttribute("href", this.params.src);
-        link.setAttribute("target", "_new");
+        link.setAttribute("target", "_blank");
         link.appendChild(document.createTextNode(this.params.description||this.params.src));
         document.getElementById('mapinfo').appendChild(link);
       }
         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);
     var image = "";
 
     if ( this.params.nameofworkurl ) {
-      attribution += "<a href='" + this.params.nameofworkurl + "'>";
+      attribution += "<a href='" + this.params.nameofworkurl + "' target='_blank'>";
     }
     if ( this.params.nameofwork ) {
       attribution += this.params.nameofwork;
       attribution += "</a>";
     }
     if ( this.params.copyrightholderurl ) {
-      attribution += "<a href='" + this.params.copyrightholderurl + "'>";
+      attribution += "<a href='" + this.params.copyrightholderurl + "' target='_blank'>";
     }
     if ( this.params.copyrightholder ) {
       attribution += ", " + this.params.copyrightholder;
       }
     }  
     if ( this.params.licenseurl ) {
-      attribution += ", <a href='" + this.params.licenseurl + "'>License URL</a>";
+      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 === "" ) {
index 86b92d6c67b98c63be8a97ab54fd762e82972234..08766c3231c57c2ac89bf1a66d4dcc80423ab6c0 100644 (file)
     </map>
 
     <subtitles>
-      <subtitles language="en" align="left">
-        <subtitle in="00:00:00:01" out="00:00:03:00">Allright lets take a look and show me the neat things you can do on the internet</subtitle>
+      <subtitles language="en" align="center">
+        <subtitle in="00:00:00:03" out="00:00:01:06">All right lets take a look and show me some</subtitle>
+        <subtitle in="00:00:01:06" out="00:00:03:00">of the neat things you can do on the internet</subtitle>
         <subtitle in="00:00:05:00" out="00:00:07:00">Have you ever wondered if there is a common thread</subtitle>
         <subtitle in="00:00:07:01" out="00:00:11:00">that exists between mobile phone hackers in South Africa, </subtitle>
-        <subtitle in="00:00:12.5:00" out="00:00:16:00">adventures using kites to map an oil spill, </subtitle>
+        <subtitle in="00:00:12.5:00" out="00:00:16:00">adventurers using kites to map an oil spill, </subtitle>
         <subtitle in="00:00:19:00" out="00:00:22:00">and a video of a cat seen by tens of millions of people?</subtitle>
-        <subtitle in="00:00:27:00" out="00:00:30.5:00">Well it's the Internet - the cat, the kite, and the cell phone hackers</subtitle>
-        <subtitle in="00:00:30.5:01" out="00:00:33:00">would all be impossible without the internet</subtitle>
-        <subtitle in="00:00:33:01" out="00:00:37.5:00">an open platform that lets everyone participate without asking permission.</subtitle>
+        <subtitle in="00:00:27:00" out="00:00:28:06">Well it's the Internet</subtitle>
+        <subtitle in="00:00:28:06" out="00:00:30:06">the cat, the kite, and the cell phone hackers</subtitle>
+        <subtitle in="00:00:30:07" out="00:00:33:00">would all be impossible without the internet</subtitle>
+        <subtitle in="00:00:33:01" out="00:00:35:04">an open platform that lets anyone</subtitle>
+        <subtitle in="00:00:35:05" out="00:00:37.5:00">participate without asking permission.</subtitle>
         <subtitle in="00:00:39:00" out="00:00:41.5:00">The Internet is what lets M.I.T student Jeffrey Warren</subtitle>
-        <subtitle in="00:00:42:00" out="00:00:45:00">use kites to map the Luisiana oil spill. </subtitle>
-        <subtitle in="00:00:47.5:00" out="00:00:50:00">well wait a second why do we have to go all the way into space to take pictures of things</subtitle>
+        <subtitle in="00:00:42:00" out="00:00:45:00">use kites to map the Louisiana oil spill. </subtitle>
+        <subtitle in="00:00:47.5:00" out="00:00:48:07">well wait a second why do we have to go all the way</subtitle>
+        <subtitle in="00:00:48:08" out="00:00:50:00">into space to take pictures of things</subtitle>
         <subtitle in="00:00:50:02" out="00:00:52:00">that are right, literally right next to us, you know. </subtitle>
-        <subtitle in="00:00:53:00" out="00:00:55:00">We can use simple tools like baloons or kites.</subtitle>
+        <subtitle in="00:00:53:00" out="00:00:55:00">We can use simple tools like balloons or kites.</subtitle>
         <subtitle in="00:00:55.5:00" out="00:00:57:00">Have the camera taking pictures every five seconds </subtitle>
         <subtitle in="00:00:58:00" out="00:01:00:00">the idea is to get a lot of people involved </subtitle>
-        <subtitle in="00:01:01:00" out="00:01:03:00">in producing maps and then share all of the information</subtitle>
-        <subtitle in="00:01:03.5:00" out="00:01:03:00">like wikipedia style you know?</subtitle>
-        <subtitle in="00:01:06:00" out="00:01:10.5:00">The Internet is what allows Steve Song and his friends to create a D.I.Y. phone network</subtitle>
+        <subtitle in="00:01:00:06" out="00:01:03:00">in producing maps and then share all of the information</subtitle>
+        <subtitle in="00:01:03.5:00" out="00:01:05:00">like wikipedia style you know?</subtitle>
+        <subtitle in="00:01:06:00" out="00:01:08:00">The Internet is what allows Steve Song and his friends</subtitle>
+        <subtitle in="00:01:08:01" out="00:01:10.5:00">to create a D.I.Y. phone network</subtitle>
         <subtitle in="00:01:11:00" out="00:01:12:00">called the Village Telco.</subtitle>
-        <subtitle in="00:01:12.5:00" out="00:01:18:00">Everyone that has a device that we call a mesh potatoe actually has a phone number</subtitle>
+        <subtitle in="00:01:12:00" out="00:01:16:00">Everyone that has a device, that we call a mesh potatoe,</subtitle>
+        <subtitle in="00:01:16:00" out="00:01:18:00">actually has a phone number</subtitle>
         <subtitle in="00:01:18.5:00" out="00:01:20.5:00">and can call anyone else on the mesh at no charge.</subtitle>
-        <subtitle in="00:01:21.5:00" out="00:01:24.5:00">So taking an open-source principles to a telephone company.</subtitle>
-        <subtitle in="00:01:25:00" out="00:01:31:00">Everything is open anyone can come and anyone can join, anyone can make contributions</subtitle>
+        <subtitle in="00:01:21.5:00" out="00:01:24.5:00">So taking an open-source principle to a telephone company.</subtitle>
+        <subtitle in="00:01:25:00" out="00:01:28:05">Everything is open, anyone can come and anyone can join</subtitle>
+        <subtitle in="00:01:28:05" out="00:01:31:00">anyone can make contributions</subtitle>
       </subtitles>
-      <subtitles language="fa" >
+      <subtitles language="fa" align="center">
         <subtitle in="00:04:00:00" out="00:04:01.5:00">My name is Mona Kasra</subtitle>
-        <subtitle in="00:04:02:00" out="00:04:02.5:00">and I'm building a better Internet</subtitle>
+        <subtitle in="00:04:01:06" out="00:04:03:00">and I'm building a better Internet</subtitle>
       </subtitles>
-      <subtitles language="pt" align="left">
+      <subtitles language="pt" align="center">
         <subtitle in="00:04:06.5:00" out="00:04:08:00">I make the Internet better</subtitle>
         <subtitle in="00:04:09:00" out="00:04:10.5:00">producing and sharing music</subtitle>
         <subtitle in="00:04:11:00" out="00:04:12:00">using Creative Commons</subtitle>