integration/media.html
changeset 109 3034776c1f35
parent 104 1b84c7b2aeee
child 141 f1b68efb360a
equal deleted inserted replaced
108:9d6cdc1972de 109:3034776c1f35
   233         
   233         
   234     IriSP.endpoints = {
   234     IriSP.endpoints = {
   235         content: "/pf/ldtplatform/api/ldt/1.0/contents/",
   235         content: "/pf/ldtplatform/api/ldt/1.0/contents/",
   236         project: "/pf/ldtplatform/api/ldt/1.0/projects/",
   236         project: "/pf/ldtplatform/api/ldt/1.0/projects/",
   237         segment: "/pf/ldtplatform/api/ldt/1.0/segments/",
   237         segment: "/pf/ldtplatform/api/ldt/1.0/segments/",
   238         ldt: "http://capsicum//pf/ldtplatform/ldt/cljson/id/",
   238         ldt: "http://capsicum//pf/ldtplatform/ldt/cljson/id/__PROJECT_ID__",
   239         hashcut_page: "hashcut.html?project="
   239         hashcut_page: "hashcut.html?project=__PROJECT_ID__"
   240     };
   240     };
   241     
   241     
   242     var mediarx = /media=([^&#]+)/,
   242     var mediarx = /media=([^&#]+)/,
   243         match = document.location.href.match(mediarx),
   243         match = document.location.href.match(mediarx),
   244         mediaid = match ? match[1] : "f72aa2f4-29bb-11e2-a193-08002791f1b7";
   244         mediaid = match ? match[1] : "f72aa2f4-29bb-11e2-a193-08002791f1b7";