test/mashup/player.htm
branchnew-model
changeset 903 d9da52e20f7f
parent 902 14022f1d49ab
child 910 b9f1bd52df9a
--- a/test/mashup/player.htm	Mon May 14 16:59:07 2012 +0200
+++ b/test/mashup/player.htm	Tue May 15 15:50:19 2012 +0200
@@ -37,6 +37,9 @@
             </div>
             <div class="coldroite">
                 <div id="mediaList"></div>
+                <h2>Annotations</h2>
+                <hr />
+                <div id="annotationList"></div>
             </div>
             <div class="footer">
                 <hr />
@@ -76,6 +79,13 @@
                 type: "MediaList",
                 container: "mediaList"
             },
+            {
+                type: "AnnotationsList",
+                container: "annotationList",
+                ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?",
+                ajax_granularity: 30000,
+                limit_count: 3
+            },
             { type: "Mediafragment" }
         ]
     },