Video API: Difference between revisions

Jump to navigation Jump to search
3,150 bytes added ,  11 June 2010
no edit summary
No edit summary
No edit summary
Line 134: Line 134:
  - target div to put it in
  - target div to put it in
  - placeId linked back to <place>
  - placeId linked back to <place>
===== Examples=====
We are using a short [http://www.drumbeat.org/content/web-made-movies-building-better-internet-video video] in order to build a demo showing of the above grammar. The structure of the demo will be based on [https://docs.google.com/a/eyesteelfilm.com/drawings/edit?id=17KM26tNZ3YzaisqSjJBJfMGxQ9KWgeAXrHmaUo-33Kc&pli=1 this wireframe]
Here is the data that will be used to describe the video. Of course the data uses the xml grammar described above.
<manifest>
  <person id="celine" url="http://www.celinecelines.com/," name="Celine" salutation="Miss." >
    <url type="homepage" source="http://www.celinecelines.com/" description="Celine's Homepage" />
    <url type="twitter" source="http://twitter.com/celinecelines" description="Celine's Twitter />
  </person>
  <person id="brian" name="brian" >
    <url type="twitter" source="http://twitter.com/bchirls" description="Brian's twitter" />
  </person>
  <person id="mona" name="Mona" >
    <url type="homepage" source="http://monakasra.com/" description="Mona's Homepage"/>
  </person>
  <person id="dave" name="Dave" >
    <url type="twitter" source="http://twitter.com/academicdave" description="Dave's twitter" />
  </person>
  <person id="noah" name="Noah" >
    <url type="twitter" source="http://twitter.com/noahworkman" description="Noah's Twitter Feed" />
  </person>
  <place id="1" type="building" geotag="http://maps.google.ca/maps/place?cid=7207111453545228773&q=austin+convention+center&hl=en&cd=2&ei=dLQPTO6yOJzmNOCykZsD&dtab=0&sll=30.267153,-97.743061&sspn=0.583554,1.454315&ie=UTF8&ll=31.012925,-99.195557&spn=0,0&z=9&iwloc=B" name="">
  <place id="2" type="city" geotag="http://maps.google.ca/maps?f=q&source=s_q&hl=en&geocode=&q=sao+paulo&sll=49.891235,-97.15369&sspn=27.954218,93.076172&ie=UTF8&hq=&hnear=S%C3%A3o+Paulo,+Brazil&z=9" url="http://en.wikipedia.org/wiki/S%C3%A3o_Paulo" name="Sao Paulo">
</manifest>
<timeline>
  <attribution id="3" in="00:00:36" nameOfWork="A Shared Culture" copyrightHolder="Jesse Dylan" license="CC-BY-NC"  licenseUrl="http://creativecommons.org/licenses/by-nc/2.0/">
  <subtitles>
    <subtitle in="00:00:05:00" out="00:00:07:00" effect="none" text="Hello! My name is Celines Celine">
    <subtitle in="00:00:07:00" out="00:00:09:00" effect="none" text="And I help the Internet be easier">
    <subtitle in="00:00:09:00" out="00:00:12:00" effect="none" text="by making things easier">
    <subtitle in="00:00:15:00" out="00:00:17:00" effect="none" text="My name is Mona Kasra">
    <subtitle in="00:00:17:00" out="00:00:18:00" effect="none" text="and I'm building a better internet">
  <subtitles>
  <map in="00:00:11:00" type="google" target="map" placeId="1">
  <map in="00:00:32:00" type="google" target="map" placeId="2">
  <data in="00:00:05:00" out="00:00:11:00" personId="celine" type="twitter">
  <data in="00:00:12:00" out="00:00:15:00" personId="brian" type="twitter">
  <data in="00:00:15:00" out="00:00:18:00" personId="mona" type="homepage">
  <data in="00:00:21:00" out="00:00:23:00" personId="dave" type="twitter">
  <data in="00:00:23:00" out="00:00:25:00" personId="noah" type="twitter">
</timeline>

Navigation menu