aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/examples/youtube-channel-example/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/examples/youtube-channel-example/index.html')
-rwxr-xr-xnode_modules/montage/examples/youtube-channel-example/index.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/node_modules/montage/examples/youtube-channel-example/index.html b/node_modules/montage/examples/youtube-channel-example/index.html
index f3a0592a..132d0d5a 100755
--- a/node_modules/montage/examples/youtube-channel-example/index.html
+++ b/node_modules/montage/examples/youtube-channel-example/index.html
@@ -15,7 +15,7 @@
15 "prototype": "montage/ui/youtube-channel.reel", 15 "prototype": "montage/ui/youtube-channel.reel",
16 "properties": { 16 "properties": {
17 "element": {"#": "player"}, 17 "element": {"#": "player"},
18 "channel": "drive" 18 "channelUrl": "http://www.youtube.com/TEDEducation"
19 } 19 }
20 }, 20 },
21 21
@@ -24,6 +24,12 @@
24 "properties": { 24 "properties": {
25 "element": {"#": "url"}, 25 "element": {"#": "url"},
26 "value": "http://www.youtube.com/TEDEducation" 26 "value": "http://www.youtube.com/TEDEducation"
27 },
28 "bindings": {
29 "value": {
30 "boundObject": {"@": "player"},
31 "boundObjectPropertyPath": "channelUrl"
32 }
27 } 33 }
28 } 34 }
29 } 35 }
@@ -32,7 +38,7 @@
32<body> 38<body>
33 <div class="youtube-channel-example"> 39 <div class="youtube-channel-example">
34 <div id="title">Youtube Channel</div> 40 <div id="title">Youtube Channel</div>
35 <input type="text" data-montage-id="url" placeholder="Channel Name" class="youtube-channel-example-url"> 41 <input type="text" data-montage-id="url" placeholder="Channel URL" class="youtube-channel-example-url">
36 <div data-montage-id="player"></div> 42 <div data-montage-id="player"></div>
37 </div> 43 </div>
38</body> 44</body>