]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
merge
authorDaniel Hodgin <dhodgin@gmail.com>
Thu, 1 Jul 2010 01:42:15 +0000 (21:42 -0400)
committerDaniel Hodgin <dhodgin@gmail.com>
Thu, 1 Jul 2010 01:42:15 +0000 (21:42 -0400)
1  2 
layout.htm
popcorn.js
xml/webMadeMovies.xml

diff --cc layout.htm
index 88921f5c20a7a51698346c409031abb3d9ba82fc,0000000000000000000000000000000000000000..2f6c67591112b12010cddaba5731a53e3200002d
mode 100644,000000..100644
--- /dev/null
@@@ -1,230 -1,0 +1,230 @@@
-                       <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
 +<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>&nbsp;</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>&nbsp;</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 id="googlenewsdiv" class="content">
++                      
 +                      <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>&raquo;</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 &copy;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>
diff --cc popcorn.js
Simple merge
index f6c1a7eafd818f8fd16289714d6dff0d3f1c7ba2,264eb142b706b7aff1eded5ee133a443a6dfbe74..21c74efe20467936f03f072331984f81dadc3dac
        <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"/>
++      <googlenews in="00:01:00" out="00:10:00" topic="oilspill" target="googlenewsdiv"/>
      </resources>
      <videotags>
        <videotag in="00:00:03:00" out="00:00:14:00">Celine Celine</videotag>