test/integration/allocine_dossier_independant/polemic-allocine.htm
branchpopcorn-port
changeset 839 4357aac4eb19
parent 838 03b03865eb9b
child 840 ac66e2240e1e
equal deleted inserted replaced
838:03b03865eb9b 839:4357aac4eb19
    19 
    19 
    20             IriSP.user = {
    20             IriSP.user = {
    21                 name : 'awesome_user_name',
    21                 name : 'awesome_user_name',
    22                 avatar : 'allocine_test/avatar.png'
    22                 avatar : 'allocine_test/avatar.png'
    23             };
    23             };
    24             IriSP.libdir = "js/libs/";
    24             IriSP.libdir = "/metadataplayer/src/js/libs/";
    25             IriSP.defaults.user = function() {
    25             IriSP.defaults.user = function() {
    26                 return IriSP.user;
    26                 return IriSP.user;
    27             };
    27             };
    28             var config = {
    28             var config = {
    29                 gui : {
    29                 gui : {
    63                             height : 160,
    63                             height : 160,
    64                         }]
    64                         }]
    65                     }, {
    65                     }, {
    66                         type : "createAnnotationWidget",
    66                         type : "createAnnotationWidget",
    67                         polemic_mode : false,
    67                         polemic_mode : false,
    68                         keywords : ['#vodkaster', '#allocine', '#universcine'],
    68                         keywords : ['#vodkaster', '#allocine', '#universcine', '#FauxRaccord', '#SceneCulte', '#navet'],
    69                         api_endpoint_template : "coucou/{{id}}.json",
    69                         api_endpoint_template : "coucou/{{id}}.json",
    70                         api_method : 'POST'
    70                         api_method : 'POST'
    71                     } /*, {
    71                     }, {
    72                         type: "TraceWidget",
    72                         type: "TraceWidget",
    73                         url: "http://192.168.56.101:5000/",
    73                         url: "http://192.168.56.101:5000/",
    74                         requestmode: 'GET',
    74                         requestmode: 'GET',
    75                         syncmode: "sync"
    75                         syncmode: "sync"
    76                     } */]
    76                     }]
    77                 },
    77                 },
    78                 player : {
    78                 player : {
    79                     type : 'allocine', // player type
    79                     type : 'allocine', // player type
    80                     height : 300,
    80                     height : 300,
    81                     width : 610,
    81                     width : 610,