src/js/site.js.templ
branchpopcorn-port
changeset 814 9abad8fe5207
parent 795 8b69c3dbbc18
child 818 1d5816a94943
--- a/src/js/site.js.templ	Fri Feb 17 10:22:39 2012 +0100
+++ b/src/js/site.js.templ	Fri Feb 17 10:56:28 2012 +0100
@@ -83,7 +83,12 @@
            Ldt-createAnnotation-polemic-equalequal for equalequal, etc.
         */
         polemics: {"++" : "positive", "--" : "negative", "==" : "reference", "??" : "question"}, 
-        cinecast_version: true /* put to false to enable the platform version, true for the festival cinecast one. */
+        cinecast_version: true, /* put to false to enable the platform version, true for the festival cinecast one. */
+        
+        /* where does the widget PUT the annotations - this is a mustache template. id refers to the id of the media ans is filled
+           by the widget. 
+        */
+        api_endpoint_template: platform_url + "/ldtplatform/api/ldt/annotations/{{id}}.json"
     },
     "SparklineWidget" : {
         column_width: 10 // the width of a column in pixels.