front_idill/src/player/index.html
author bastiena
Thu, 20 Sep 2012 04:12:52 +0200
changeset 100 db42ef1faa7a
parent 54 eb52a12370a3
permissions -rw-r--r--
Front IDILL: help details updated for mouse interactions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
     2
<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
     3
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
     4
<head>
54
eb52a12370a3 BBM : installer
bastiena
parents: 32
diff changeset
     5
	<title>Metadataplayer - test</title>
32
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
     6
	<meta http-equiv='cache-control' content='no-cache'>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
     7
	<meta http-equiv='expires' content='0'>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
     8
	<meta http-equiv='pragma' content='no-cache'>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
     9
	<!--<script type="text/javascript" src="libs/jquery-1.7.2.min.js" type="text/javascript"></script>   -->
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    10
</head>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    11
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    12
<body bgcolor="#FFFFFF">
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    13
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    14
  <!--<div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    15
  <h1>MetaDataPlayer</h1>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    16
  Polemic tweet integration test - using Popcorn, jwplayer and the <a href="http://polemictweet.com">PolemicTweet</a> widget.<br>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    17
  </div>-->
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    18
  
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    19
  
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    20
 <!-- START Integration  ###################################### -->
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    21
 <!-- SIMPLE PLAYER EXPERIMENTATION -->
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    22
  <script type="text/javascript" src="metadataplayer/LdtPlayer-core.js" type="text/javascript"></script>   
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    23
  
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    24
  <div id="video"></div>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    25
  <div id="LdtPlayer"></div>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    26
  
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    27
  <script  type="text/javascript">
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    28
  IriSP.libFiles.defaultDir = "../../lib/";
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    29
  IriSP.widgetsDir = "metadataplayer/"
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    30
  //IriSP.jwplayer_swf_path = "libs/player.swf";
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    31
    var _metadata = {
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    32
        //url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02?callback=?',
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    33
        //url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/f1a17368-2bc8-11e1-b21a-00145ea49a02?callback=?', enmi
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    34
        //url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/d726e86a-684f-11e1-a087-00145ea4a2be?callback=?', //webze
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    35
        //url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/a972dbcc-26ff-11e1-8869-00145ea49a02?callback=?',
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    36
        //url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/3f1f08e6-66b9-11e1-80f6-00145ea4a2be?callback=?', //stronger
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    37
        url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/7c912bce-66b8-11e1-80f6-00145ea4a2be?callback=?', //stronger
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    38
        format: 'ldt'
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    39
    };
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    40
    var _config = {            
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    41
        gui: {
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    42
            width:620,
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    43
            //height:800,
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    44
			//timelineBorderLength: 10,
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    45
            container:'LdtPlayer',
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    46
			default_options: {
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    47
				metadata: _metadata
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    48
			},
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    49
            css:'metadataplayer/LdtPlayer-core.css',
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    50
            widgets: [
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    51
				{
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    52
					type: "Timeline"
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    53
				}
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    54
            ]
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    55
        },
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    56
        player:{
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    57
            type:'html5', // player type
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    58
			video:'http://media.iri.centrepompidou.fr/video/ldtplatform/body_trail_cctv.mp4',
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    59
            live: true, 
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    60
			height: 350, 
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    61
            width: 620, 
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    62
			autostart: true
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    63
            //provider: "rtmp" 
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    64
        }
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    65
    };
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    66
	
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    67
    var _myPlayer = new IriSP.Metadataplayer(_config, _metadata);
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    68
	
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    69
	//var playerTop = $('#LdtPlayer').position().top, playerLeft = $('#LdtPlayer').position().left;
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    70
  </script>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    71
  
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    72
  
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    73
 </body>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    74
 <div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div>
4003f84cd349 Front IDILL :
bastiena
parents:
diff changeset
    75
 </html>