web/index.html
author cavaliet
Mon, 21 Oct 2013 11:57:38 +0200
changeset 2 128bc58ed2e8
parent 0 7f8907368bd5
child 3 cca75fee01f1
permissions -rwxr-xr-x
2 videos per chapter + logo
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     1
<!doctype html>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     2
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="fr"> <![endif]-->
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     3
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="fr"> <![endif]-->
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     4
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="fr"> <![endif]-->
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     5
<!--[if gt IE 8]><!--> <html class="no-js" lang="fr"> <!--<![endif]-->
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     6
<head>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     7
  <meta charset="utf-8">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     8
  <title>Digital Studies - Home</title>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
     9
  <link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.min.css">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    10
  <link rel="stylesheet" href="./css/ds.css">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    11
</head>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    12
<body>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    13
 <div id="wrapper">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    14
	<header class="navbar navbar-inverse" role="banner">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    15
	  <div class="container">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    16
	    <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    17
	      <ul class="nav navbar-nav">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    18
	        <li>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    19
	          <a href="#"><img src="./img/logodsrose2" alt="Logo Digital Studies" /></a>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    20
	        </li>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    21
	      </ul>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    22
          <ul class="nav navbar-nav" style="float:right;">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    23
              <li><a href="#">Lien 1</a></li>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    24
              <li><a href="#">Lien 2</a></li>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    25
              <li><a href="#">Lien 3</a></li>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    26
              <li><a href="#">Lien 4</a></li>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    27
          </ul>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    28
	    </nav>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    29
	  </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    30
	</header>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    31
	<div class="container">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    32
    <div class="row divctn">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    33
      <div class="col-md-4">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    34
        <div class="videotitle">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    35
          <p><a class="videolink" data-videoid="0">Vidéo chapitrée du résumé</a> <button type="button" class="btn btn-info btn-xs" data-toggle="collapse" data-target="#abstract">Voir plus</button></p>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    36
          <div id="abstract" class="collapse"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    37
          </p>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    38
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    39
        <div class="videotitle">
2
128bc58ed2e8 2 videos per chapter + logo
cavaliet
parents: 0
diff changeset
    40
          <p>Chapitre 1&nbsp;: L'état et le numérique<br/><a class="videolink" data-videoid="1">vidéo complète</a> ou <a class="videolink" data-videoid="1r">résumé</a></p>
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    41
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    42
        <div class="videotitle">
2
128bc58ed2e8 2 videos per chapter + logo
cavaliet
parents: 0
diff changeset
    43
          <p>Chapitre 2&nbsp;: Technologies, savoirs et sociétés<br/><a class="videolink" data-videoid="2">vidéo complète</a> ou <a class="videolink" data-videoid="2r">résumé</a></p>
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    44
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    45
        <div class="videotitle">
2
128bc58ed2e8 2 videos per chapter + logo
cavaliet
parents: 0
diff changeset
    46
          <p>Chapitre 3&nbsp;: Qui pour guider une politique du numérique&nbsp;: le marché ? ou la recherche académique ?<br/><a class="videolink" data-videoid="3">vidéo complète</a> ou <a class="videolink" data-videoid="3r">résumé</a></p>
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    47
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    48
        <div class="videotitle">
2
128bc58ed2e8 2 videos per chapter + logo
cavaliet
parents: 0
diff changeset
    49
          <p>Chapitre 4&nbsp;: La polémique, mère de tous savoirs<br/><a class="videolink" data-videoid="4">vidéo complète</a> ou <a class="videolink" data-videoid="4r">résumé</a></p>
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    50
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    51
        <div class="videotitle">
2
128bc58ed2e8 2 videos per chapter + logo
cavaliet
parents: 0
diff changeset
    52
          <p>Chapitre 5&nbsp;: La catégorisation contributive<br/><a class="videolink" data-videoid="5">vidéo complète</a> ou <a class="videolink" data-videoid="5r">résumé</a></p>
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    53
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    54
        <div class="videotitle">
2
128bc58ed2e8 2 videos per chapter + logo
cavaliet
parents: 0
diff changeset
    55
          <p>Chapitre 6&nbsp;: Sur l'industrie éditoriale numérisée<br/><a class="videolink" data-videoid="6">vidéo complète</a> ou <a class="videolink" data-videoid="6r">résumé</a></p>
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    56
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    57
        <div class="videotitle">
2
128bc58ed2e8 2 videos per chapter + logo
cavaliet
parents: 0
diff changeset
    58
          <p>Chapitre 7&nbsp;: Propositions pour France Université Numérique<br/><a class="videolink" data-videoid="7">vidéo complète</a> ou <a class="videolink" data-videoid="7r">résumé</a></p>
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    59
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    60
        <div class="videotitle">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    61
          <p><a class="videolink" data-videoid="full">Vidéo complète chapitrée</a></p>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    62
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    63
      </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    64
      <div class="col-md-8" id="videocontainer">Pour commencer, cliquez sur "Vidéo chapitrée du résumé" ou "Vidéo complète chapitrée"</div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    65
    </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    66
	</div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    67
    <footer>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    68
      <div class="container row">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    69
        <div class="footer-img col-md-6">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    70
            <a href="http://www.iri.centrepompidou.fr" target="_blank"><img src="./img/logo_IRI_footer.png" alt="Logo IRI" /></a>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    71
            <a href="http://arsindustrialis.org/" target="_blank"><img src="./img/logoarsindustrialis.jpg" alt="Logo ars" /></a>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    72
            <a href="http://pharmakon.fr/" target="_blank"><img src="./img/logo_pharmakon.png" alt="Logo Pharmakon" /></a>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    73
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    74
        <div class="col-md-6">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    75
          <div class="text-right" id="copyright-version">©2013 <a href="http://www.iri.centrepompidou.fr" target="_blank">IRI</a></div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    76
        </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    77
      </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    78
    </footer>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    79
  </div>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    80
  <script type="text/javascript" src="./lib/jquery-1.9.1.js"></script>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    81
  <script type="text/javascript" src="./lib/bootstrap/js/bootstrap.min.js"></script>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    82
  <script type="text/javascript">
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    83
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    84
    var iframes = {
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    85
      "0" : "<iframe src='http://ldt.iri.centrepompidou.fr//ldtplatform/ldt/embediframe/?content_id=53574ae4-49e9-11e2-b4ad-00145ea4a2be&project_id=a94ee060-49e9-11e2-b4ad-00145ea4a2be&createannotation=True&tag_titles=&polemic=all&annotations_list=True&autostart=True&annotation=True' width='570' height='1300' seamless='seamless'></iframe>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    86
      "1" : "<p>iframe à venir, vidéo n°1</p>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    87
      "2" : "<p>iframe à venir, vidéo n°2</p>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    88
      "3" : "<p>iframe à venir, vidéo n°3</p>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    89
      "4" : "<p>iframe à venir, vidéo n°4</p>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    90
      "5" : "<p>iframe à venir, vidéo n°5</p>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    91
      "6" : "<p>iframe à venir, vidéo n°6</p>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    92
      "7" : "<p>iframe à venir, vidéo n°7</p>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    93
      "full" : "<iframe src='http://ldt.iri.centrepompidou.fr//ldtplatform/ldt/embediframe/?content_id=62083f72-363c-11e3-8068-00145ea4a2be&project_id=032aebaa-37de-11e3-a863-00145ea4a2be&createannotation=True&tag_titles=&polemic=all&annotations_list=True&autostart=True&annotation=True' width='570' height='1300' seamless='seamless'></iframe>",
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    94
    };
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    95
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    96
    $(function() {
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    97
      $(".videolink").click(function(e){
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    98
        playVideo($(this).attr("data-videoid"));
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
    99
      });
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   100
    });
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   101
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   102
    function displayIframe(n){
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   103
      $("#videocontainer").html(iframes[n]);
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   104
    }
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   105
    
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   106
    function playVideo(n){
2
128bc58ed2e8 2 videos per chapter + logo
cavaliet
parents: 0
diff changeset
   107
      if (n=="1" || n=="2" || n=="3" || n=="4" || n=="5" || n=="6" || n=="7" || n=="1r" || n=="2r" || n=="3r" || n=="4r" || n=="5r" || n=="6r" || n=="7r"){
0
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   108
        $("#videocontainer").html("<p>à venir, vidéo n°" + n + "</p>");
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   109
      }
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   110
      else{
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   111
        var s = ''
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   112
 + '<p class="text-right"><a href="#" onclick="displayIframe(\'__NUM_JSON__\');return false;">Ajouter votre commentaire sur cette vidéo</a></p>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   113
 + '<div>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   114
 + '<div style="float:left; width:550px;" id="wrapper_player_project_a94ee060-49e9-11e2-b4ad-00145ea4a2be"><div>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   115
 + '<div id="player_project_a94ee060-49e9-11e2-b4ad-00145ea4a2be_embed" class="iri_player_embed"></div>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   116
 + '<script type="text/javascript" src="./lib/metadataplayer/LdtPlayer-core.js"><\/script>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   117
 + '<script type="text/javascript">'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   118
 + 'if (typeof jQuery == "undefined") {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   119
 + '    jQuery = IriSP.jQuery;'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   120
 + '   }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   121
 + '    var metadatas = {metadata: {url: "./json/data__NUM_JSON__.json"}};'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   122
 + '    var metadata_key = "metadata";'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   123
 + '  IriSP.libFiles.defaultDir = "./js";'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   124
 + '  IriSP.libFiles.locations.jwPlayerSWF = "./player.swf";'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   125
 + '  IriSP.libFiles.locations.cssjQueryUI = "./css/jquery-ui.css";'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   126
 + '  IriSP.language = "fr-fr";'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   127
 + '  IriSP.widgetsDir = "./lib/metadataplayer";'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   128
 + '  var _metadata = {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   129
 + '      url: metadatas[metadata_key].url,'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   130
 + '      format: "ldt"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   131
 + '  };'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   132
 + '  var _config = {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   133
 + '      width: "550",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   134
 + '      container: "player_project_a94ee060-49e9-11e2-b4ad-00145ea4a2be_embed",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   135
 + '      css: "./lib/metadataplayer/LdtPlayer-core.css",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   136
 + '      default_options: {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   137
 + '          metadata: _metadata'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   138
 + '      },'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   139
 + '      widgets: ['
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   140
 + '          {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   141
 + '              type: "AutoPlayer",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   142
 + '              height: "300",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   143
 + '              autostart:  true,'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   144
 + '              url_transform: function(url) { if(url.substr(url.length - 4).toLowerCase()==".flv"){ return url.replace("/ddc_player/video/","/ddc_player/flv:video/"); } return url.replace("/ddc_player/video/","/ddc_player/mp4:video/"); }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   145
 + '          },'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   146
 + '          {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   147
 + '              type: "Polemic",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   148
 + '              annotation_type: false,'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   149
 + '              defaultcolor: "#585858",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   150
 + '              foundcolor: "#fc00ff",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   151
 + '              polemics : ['
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   152
 + '                      {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   153
 + '                          "name" : "OK",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   154
 + '                          "keywords" : [ "++" ],'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   155
 + '                          "color" : "#1d973d"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   156
 + '                      },'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   157
 + '                      {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   158
 + '                          "name" : "KO",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   159
 + '                          "keywords" : [ "--" ],'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   160
 + '                          "color" : "#ce0a15"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   161
 + '                      },'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   162
 + '                      {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   163
 + '                          "name" : "REF",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   164
 + '                          "keywords" : [ "==", "http://" ],'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   165
 + '                          "color" : "#c5a62d"  '
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   166
 + '                      },'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   167
 + '                      {'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   168
 + '                          "name" : "Q",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   169
 + '                          "keywords" : [ "?" ],'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   170
 + '                          "color" : "#036aae"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   171
 + '                      }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   172
 + '                  ]'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   173
 + '          }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   174
 + '          ,{'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   175
 + '              type: "Slider"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   176
 + '          }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   177
 /*+ '          ,{'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   178
 + '              type: "AnnotationsList",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   179
 + '              container: "AnnotationsList_ext",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   180
 + '              ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/1.0/segments/bytimecode/{{media}}/{{begin}}/{{end}}",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   181
 + '              ajax_granularity : 300000,'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   182
 + '              default_thumbnail : "./css/imgs/video_sequence.png",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   183
 + '              show_audio: true,'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   184
 + '              rtmp_streamer: "rtmp://media.iri.centrepompidou.fr/ddc_micro_record/"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   185
 + '          }'*/
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   186
 + '          ,{'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   187
 + '              type: "Controller"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   188
 + '          }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   189
 + '          ,{'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   190
 + '              type: "Segments",'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   191
 + '              annotation_type: ["chap","découpage"]'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   192
 + '          }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   193
 + '          ,{'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   194
 + '              type: "Annotation"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   195
 + '          }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   196
 + '          ,{'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   197
 + '              type: "Mediafragment"'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   198
 + '          }'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   199
 + '      ]'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   200
 + '  };'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   201
 + '  _myPlayer = new IriSP.Metadataplayer(_config);'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   202
 + '  <\/script>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   203
 + '  </div>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   204
 + '</div>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   205
 + '<div style="float:left; width:400px;" id="AnnotationsList_ext"></div>'
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   206
 + '</div>';
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   207
      
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   208
        $("#videocontainer").html(s.replace(/__NUM_JSON__/g, n));
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   209
      }
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   210
    }
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   211
  </script>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   212
</body>
7f8907368bd5 first commit
cavaliet
parents:
diff changeset
   213
</html>