aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/test/ui/youtube-player-test/youtube-player-test.html
blob: a82f50e95a9bb8b04a83befb474a64f3831fe16d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<!-- <copyright>
 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
 (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
 </copyright> -->
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Youtube player test</title>
    <script type="text/javascript" src="../../../montage.js" data-package="../../"></script>
    <script type="text/montage-serialization">
{
    "playerA": {
        "prototype": "montage/ui/youtube-player.reel",
        "properties": {
            "element": {"#": "playerA"},
            "videoId": "x_O_ioBf-cM"
        }
    },

    "test": {
        "module": "ui/buttontest/buttontest",
        "name": "ButtonTest",
        "properties": {
            "playerA": {"@": "playerA"}
        }
    },
    "application": {
        "module": "montage/ui/application",
        "name": "Application",
        "properties": {
            "delegate": {"@": "test"}
        }
    }
}
    </script>

</head>
<body>
    <h1>Youtube Player test</h1>

    <h2>Basic</h2>
    <div id="playerA"></div>

</body>
</html>