test/dailymotion.html
author ymh <ymh.work@gmail.com>
Wed, 04 Sep 2024 17:32:50 +0200
changeset 1072 ac1eacb3aa33
parent 1069 test/dailymotion.htm@2409cb4cebaf
child 1076 510fd2a482f4
permissions -rw-r--r--
Migrate source and build to vite.js

<!doctype html>
<html>

    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
        <title>Metadataplayer test with Dailymotion</title>
        <link href='open-sans/css/fonts.css' rel='stylesheet' type='text/css'>
        <link href='test.css' rel='stylesheet' type='text/css'>
        <script type="text/javascript" src="metadataplayer/LdtPlayer-core.js" type="text/javascript"></script>
    </head>

    <body>
        <h1>Metadataplayer test with Dailymotion</h1>
        <div id="LdtPlayer"></div>
        <div id="AnnotationsListContainer"></div>
        <script type="text/javascript">
IriSP.libFiles.defaultDir = "libs/";
IriSP.widgetsDir = "metadataplayer";
var _metadata = {
    url: "json/ldt-dailymotion.json",
    format: 'ldt'
};
var _config = {
    width : 620,
    container : 'LdtPlayer',
    default_options: {
        metadata: _metadata
    },
    css : 'metadataplayer/LdtPlayer-core.css',
    widgets: [
        { type: "AutoPlayer" },
        { type: "Sparkline" },
        { type: "Slider" },
        { type: "Controller" },
        { type: "Polemic" },
        { type: "Segments" },
        { type: "Annotation" },
        { type: "CreateAnnotation" },
        { type: "Tweet" },
        { type: "Tagcloud" },
        {
            type: "AnnotationsList",
            container: "AnnotationsListContainer"
        },
        { type: "Mediafragment"}
    ]
};
_myPlayer = new IriSP.Metadataplayer(_config);
        </script>
    </body>
</html>