| author | ymh <ymh.work@gmail.com> |
| Sat, 19 Oct 2024 01:34:55 +0200 | |
| changeset 1075 | 92cb33eb7a75 |
| parent 1069 | 2409cb4cebaf |
| child 1076 | 510fd2a482f4 |
| permissions | -rw-r--r-- |
| 884 | 1 |
<!doctype html> |
2 |
<html> |
|
| 883 | 3 |
|
| 884 | 4 |
<head> |
| 909 | 5 |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
| 967 | 6 |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| 884 | 7 |
<title>Metadataplayer test with Youtube</title> |
|
1069
2409cb4cebaf
getting various changes from github
ymh <ymh.work@gmail.com>
parents:
1024
diff
changeset
|
8 |
<link href='open-sans/css/fonts.css' rel='stylesheet' type='text/css'> |
| 884 | 9 |
<link href='test.css' rel='stylesheet' type='text/css'> |
|
1069
2409cb4cebaf
getting various changes from github
ymh <ymh.work@gmail.com>
parents:
1024
diff
changeset
|
10 |
<script type="text/javascript" src="./libs/jquery.js" type="text/javascript"></script> |
| 1024 | 11 |
<script type="text/javascript" src="./metadataplayer/LdtPlayer-core.js" type="text/javascript"></script> |
| 884 | 12 |
</head> |
13 |
||
14 |
<body> |
|
15 |
<h1>Metadataplayer test with Youtube</h1> |
|
16 |
<div id="LdtPlayer"></div> |
|
17 |
<div id="AnnotationsListContainer"></div> |
|
18 |
<script type="text/javascript"> |
|
| 959 | 19 |
IriSP.libFiles.defaultDir = "libs/"; |
20 |
IriSP.widgetsDir = "metadataplayer"; |
|
21 |
var _metadata = { |
|
| 987 | 22 |
// url: "json/ldt-youtube.json", |
23 |
url: "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/8f7e4b42-4838-11e2-ac61-00145ea4a2be", |
|
| 959 | 24 |
format: 'ldt' |
25 |
}; |
|
26 |
var _config = { |
|
27 |
width : 620, |
|
28 |
container : 'LdtPlayer', |
|
29 |
default_options: { |
|
30 |
metadata: _metadata |
|
31 |
}, |
|
32 |
css : 'metadataplayer/LdtPlayer-core.css', |
|
33 |
widgets: [ |
|
| 967 | 34 |
{ |
35 |
type: "PopcornPlayer", |
|
| 997 | 36 |
autostart: false, |
37 |
height: 320 |
|
| 967 | 38 |
}, |
| 959 | 39 |
{ type: "Sparkline" }, |
40 |
{ type: "Slider" }, |
|
41 |
{ type: "Controller" }, |
|
42 |
{ type: "Polemic" }, |
|
43 |
{ type: "Segments" }, |
|
44 |
{ type: "Annotation" }, |
|
45 |
{ type: "CreateAnnotation" }, |
|
46 |
{ type: "Tweet" }, |
|
47 |
{ type: "Tagcloud" }, |
|
48 |
{ |
|
49 |
type: "AnnotationsList", |
|
50 |
container: "AnnotationsListContainer" |
|
51 |
}, |
|
52 |
{ type: "Mediafragment"} |
|
53 |
] |
|
54 |
}; |
|
55 |
_myPlayer = new IriSP.Metadataplayer(_config); |
|
| 884 | 56 |
</script> |
57 |
</body> |
|
58 |
</html> |