equal
deleted
inserted
replaced
26 <script src="/js/libs-annotviz.js"></script> |
26 <script src="/js/libs-annotviz.js"></script> |
27 <script src="/js/annotviz.js"></script> |
27 <script src="/js/annotviz.js"></script> |
28 <script> |
28 <script> |
29 |
29 |
30 var annotationChannel = 'ANNOT'; |
30 var annotationChannel = 'ANNOT'; |
31 var eventCode = 'test_1'; |
31 var eventCode = 'atelier2'; |
|
32 var eventCodeSessionDay1 = 'atelier2_jour2'; |
32 var wsUri; |
33 var wsUri; |
33 if (window.location.protocol === 'file:') { |
34 if (window.location.protocol === 'file:') { |
34 wsUri = 'ws://127.0.0.1:8090/broadcast'; |
35 wsUri = 'ws://127.0.0.1:8090/broadcast'; |
35 } |
36 } |
36 else { |
37 else { |
66 console.log("ANNOTS CAT",annotCategories); |
67 console.log("ANNOTS CAT",annotCategories); |
67 |
68 |
68 var annotstimeline = new annotviz.AnnotsTimeLine({ |
69 var annotstimeline = new annotviz.AnnotsTimeLine({ |
69 stageView : stageView, |
70 stageView : stageView, |
70 logger: logger, |
71 logger: logger, |
|
72 serverUrl: serverUrl, |
71 ws: new annotviz.WsWrapper(wsUriAnnotation, logger), |
73 ws: new annotviz.WsWrapper(wsUriAnnotation, logger), |
72 xInit: 0, |
74 xInit: 0, |
73 yInit: 0, |
75 yInit: 0, |
74 width: 1024 - 435 - 300, |
76 width: 1024 - 435 - 300, |
75 height: 768, |
77 height: 768, |
80 maxCellHeight: 100, |
82 maxCellHeight: 100, |
81 radius: 300, |
83 radius: 300, |
82 circleX:500, |
84 circleX:500, |
83 circleY:450, |
85 circleY:450, |
84 eventCode: eventCode, |
86 eventCode: eventCode, |
|
87 eventCodeSessionDay1: eventCodeSessionDay1, |
85 channel: annotationChannel, |
88 channel: annotationChannel, |
86 annotCategories: annotCategories |
89 annotCategories: annotCategories |
87 }); |
90 }); |
88 |
91 |
89 function stop() { |
92 function stop() { |