# HG changeset patch # User hamidouk # Date 1326903660 -3600 # Node ID 9013f6382f8cf44c374d315f9c1078e876c71599 # Parent 468c7413e8286f6087d103240eb1c0e211542b48 added conf for annotationListWidget. diff -r 468c7413e828 -r 9013f6382f8c src/js/site.js --- a/src/js/site.js Wed Jan 18 16:35:18 2012 +0100 +++ b/src/js/site.js Wed Jan 18 17:21:00 2012 +0100 @@ -2,6 +2,7 @@ IriSP.libdir = "/mdp/src/js/libs/"; IriSP.jwplayer_swf_path = "/mdp/test/libs/player.swf"; +IriSP.platform_url = "http://localhost/pf"; IriSP.lib = { jQuery : "http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js", @@ -55,11 +56,18 @@ "Main" : { autoplay: true } - + "AnnotationsListWidget" : { + ajax_mode: true, /* use ajax to get information about the annotations. + if set to false, only search in the annotations for the + current project. */ + ajax_url: IriSP.platform_url + "ldtplatform/api/ldt/segments/" /* partial + url of + where to + get the + ajax */ + }, }; -IriSP.platform_url = "http://localhost/pf"; - IriSP.paths = { // "imgs": "/tweetlive/res/metadataplayer/src/css/imgs" "imgs": "/mdp/src/css/imgs"