metadataplayer/dailymotion.htm
author ymh <ymh.work@gmail.com>
Fri, 16 Nov 2012 12:53:37 +0100
changeset 34 5da687a9458d
parent 15 ed7ac7e94090
permissions -rw-r--r--
Fix the ldt lib name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     1
<!doctype html>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     2
<html>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     3
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     4
    <head>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     5
        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     6
        <title>Metadataplayer test with Dailymotion</title>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     7
        <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     8
        <link href='test.css' rel='stylesheet' type='text/css'>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
     9
        <script type="text/javascript" src="metadataplayer/LdtPlayer-core.js" type="text/javascript"></script>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    10
        <script type="text/javascript" src="test-config.js" type="text/javascript"></script>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    11
    </head>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    12
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    13
    <body>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    14
        <h1>Metadataplayer test with Dailymotion</h1>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    15
        <div id="LdtPlayer"></div>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    16
        <div id="AnnotationsListContainer"></div>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    17
        <script type="text/javascript">
15
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    18
IriSP.libFiles.defaultDir = "libs/";
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    19
IriSP.widgetsDir = "metadataplayer";
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    20
var _metadata = {
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    21
    url: "json/ldt-dailymotion.json",
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    22
    format: 'ldt'
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    23
};
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    24
var _config = {
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    25
    width : 620,
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    26
    container : 'LdtPlayer',
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    27
    default_options: {
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    28
        metadata: _metadata
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    29
    },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    30
    css : 'metadataplayer/LdtPlayer-core.css',
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    31
    widgets: [
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    32
        { type: "AutoPlayer" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    33
        { type: "Sparkline" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    34
        { type: "Slider" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    35
        { type: "Controller" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    36
        { type: "Polemic" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    37
        { type: "Segments" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    38
        { type: "Annotation" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    39
        { type: "CreateAnnotation" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    40
        { type: "Tweet" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    41
        { type: "Tagcloud" },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    42
        {
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    43
            type: "AnnotationsList",
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    44
            container: "AnnotationsListContainer"
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    45
        },
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    46
        { type: "Mediafragment"}
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    47
    ]
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    48
};
ed7ac7e94090 Update Metadataplayer
veltr
parents: 0
diff changeset
    49
_myPlayer = new IriSP.Metadataplayer(_config);
0
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    50
        </script>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    51
    </body>
222f9654ed39 Added metadataplayer with examples and docs
veltr
parents:
diff changeset
    52
</html>