diff options
author | Stuart Knightley | 2012-03-19 15:13:28 -0700 |
---|---|---|
committer | Stuart Knightley | 2012-03-19 15:13:28 -0700 |
commit | e438756a18e4ae46cd4713e81f0bc4a1d2ddea15 (patch) | |
tree | 2d333430d4d0bafa335fc96ccca19b087d900285 /node_modules/montage/examples/youtube-channel-example | |
parent | dd382088b4990c4e39f77d793c1a6bd7e3c52aca (diff) | |
download | ninja-e438756a18e4ae46cd4713e81f0bc4a1d2ddea15.tar.gz |
Update Youtube channel to have three thumbnails
Diffstat (limited to 'node_modules/montage/examples/youtube-channel-example')
-rwxr-xr-x | node_modules/montage/examples/youtube-channel-example/index.html | 10 |
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> |