diff options
author | Pierre Frisch | 2011-12-22 07:25:50 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 11:18:17 -0800 |
commit | b89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch) | |
tree | 0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /node_modules/montage/ui/video-player.reel/video-player.html | |
parent | 2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff) | |
download | ninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz |
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/video-player.reel/video-player.html')
-rwxr-xr-x | node_modules/montage/ui/video-player.reel/video-player.html | 371 |
1 files changed, 371 insertions, 0 deletions
diff --git a/node_modules/montage/ui/video-player.reel/video-player.html b/node_modules/montage/ui/video-player.reel/video-player.html new file mode 100755 index 00000000..96e8bf29 --- /dev/null +++ b/node_modules/montage/ui/video-player.reel/video-player.html | |||
@@ -0,0 +1,371 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html> | ||
8 | <head> | ||
9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
10 | <link rel="stylesheet" type="text/css" href="video-player.css"> | ||
11 | |||
12 | <script type="text/montage-serialization"> | ||
13 | { | ||
14 | "dynamictext1": { | ||
15 | "module": "montage/ui/dynamic-text.reel", | ||
16 | "name": "DynamicText", | ||
17 | "properties": { | ||
18 | "element": { | ||
19 | "#": "duration" | ||
20 | } | ||
21 | } | ||
22 | }, | ||
23 | "dynamictext2": { | ||
24 | "module": "montage/ui/dynamic-text.reel", | ||
25 | "name": "DynamicText", | ||
26 | "properties": { | ||
27 | "element": { | ||
28 | "#": "position" | ||
29 | } | ||
30 | } | ||
31 | }, | ||
32 | "mediacontroller1": { | ||
33 | "module": "montage/ui/controller/media-controller", | ||
34 | "name": "MediaController", | ||
35 | "properties": { | ||
36 | "mediaElement": { | ||
37 | "#": "video-tag" | ||
38 | } | ||
39 | }, | ||
40 | "bindings": { | ||
41 | "mediaSrc": { | ||
42 | "boundObject": { | ||
43 | "@": "owner" | ||
44 | }, | ||
45 | "boundObjectPropertyPath": "src", | ||
46 | "oneway": true | ||
47 | } | ||
48 | } | ||
49 | }, | ||
50 | "slider1": { | ||
51 | "module": "montage/ui/slider.reel", | ||
52 | "name": "Slider", | ||
53 | "properties": { | ||
54 | "element": { | ||
55 | "#": "durationSlider" | ||
56 | }, | ||
57 | "minValue": 0, | ||
58 | "hasTapBarToScroll": true | ||
59 | }, | ||
60 | "bindings": { | ||
61 | "value": { | ||
62 | "boundObject": { | ||
63 | "@": "owner" | ||
64 | }, | ||
65 | "boundObjectPropertyPath": "controller.position", | ||
66 | "oneway": false | ||
67 | } | ||
68 | } | ||
69 | }, | ||
70 | "actioneventlistener1": { | ||
71 | "module": "montage/core/event/action-event-listener", | ||
72 | "name": "ActionEventListener", | ||
73 | "properties": { | ||
74 | "handler": { | ||
75 | "@": "mediacontroller1" | ||
76 | }, | ||
77 | "action": "playPause" | ||
78 | } | ||
79 | }, | ||
80 | "togglebutton1": { | ||
81 | "module": "montage/ui/button.reel", | ||
82 | "name": "ToggleButton", | ||
83 | "properties": { | ||
84 | "element": { | ||
85 | "#": "playButton" | ||
86 | } | ||
87 | }, | ||
88 | "listeners": [ | ||
89 | { | ||
90 | "type": "action", | ||
91 | "listener": { | ||
92 | "@": "actioneventlistener1" | ||
93 | }, | ||
94 | "capture": false | ||
95 | } | ||
96 | ] | ||
97 | }, | ||
98 | "actioneventlistener2": { | ||
99 | "module": "montage/core/event/action-event-listener", | ||
100 | "name": "ActionEventListener", | ||
101 | "properties": { | ||
102 | "handler": { | ||
103 | "@": "mediacontroller1" | ||
104 | }, | ||
105 | "action": "rewind" | ||
106 | } | ||
107 | }, | ||
108 | "button1": { | ||
109 | "module": "montage/ui/button.reel", | ||
110 | "name": "Button", | ||
111 | "properties": { | ||
112 | "element": { | ||
113 | "#": "rewindButton" | ||
114 | } | ||
115 | }, | ||
116 | "listeners": [ | ||
117 | { | ||
118 | "type": "action", | ||
119 | "listener": { | ||
120 | "@": "actioneventlistener2" | ||
121 | }, | ||
122 | "capture": false | ||
123 | } | ||
124 | ] | ||
125 | }, | ||
126 | "actioneventlistener3": { | ||
127 | "module": "montage/core/event/action-event-listener", | ||
128 | "name": "ActionEventListener", | ||
129 | "properties": { | ||
130 | "handler": { | ||
131 | "@": "mediacontroller1" | ||
132 | }, | ||
133 | "action": "fastForward" | ||
134 | } | ||
135 | }, | ||
136 | "button2": { | ||
137 | "module": "montage/ui/button.reel", | ||
138 | "name": "Button", | ||
139 | "properties": { | ||
140 | "element": { | ||
141 | "#": "ffButton" | ||
142 | } | ||
143 | }, | ||
144 | "listeners": [ | ||
145 | { | ||
146 | "type": "action", | ||
147 | "listener": { | ||
148 | "@": "actioneventlistener3" | ||
149 | }, | ||
150 | "capture": false | ||
151 | } | ||
152 | ] | ||
153 | }, | ||
154 | "actioneventlistener4": { | ||
155 | "module": "montage/core/event/action-event-listener", | ||
156 | "name": "ActionEventListener", | ||
157 | "properties": { | ||
158 | "handler": { | ||
159 | "@": "mediacontroller1" | ||
160 | }, | ||
161 | "action": "volumeDecrease" | ||
162 | } | ||
163 | }, | ||
164 | "button3": { | ||
165 | "module": "montage/ui/button.reel", | ||
166 | "name": "Button", | ||
167 | "properties": { | ||
168 | "element": { | ||
169 | "#": "decreaseVolume" | ||
170 | } | ||
171 | }, | ||
172 | "listeners": [ | ||
173 | { | ||
174 | "type": "action", | ||
175 | "listener": { | ||
176 | "@": "actioneventlistener4" | ||
177 | }, | ||
178 | "capture": false | ||
179 | } | ||
180 | ] | ||
181 | }, | ||
182 | "actioneventlistener5": { | ||
183 | "module": "montage/core/event/action-event-listener", | ||
184 | "name": "ActionEventListener", | ||
185 | "properties": { | ||
186 | "handler": { | ||
187 | "@": "mediacontroller1" | ||
188 | }, | ||
189 | "action": "volumeIncrease" | ||
190 | } | ||
191 | }, | ||
192 | "button4": { | ||
193 | "module": "montage/ui/button.reel", | ||
194 | "name": "Button", | ||
195 | "properties": { | ||
196 | "element": { | ||
197 | "#": "increaseVolume" | ||
198 | } | ||
199 | }, | ||
200 | "listeners": [ | ||
201 | { | ||
202 | "type": "action", | ||
203 | "listener": { | ||
204 | "@": "actioneventlistener5" | ||
205 | }, | ||
206 | "capture": false | ||
207 | } | ||
208 | ] | ||
209 | }, | ||
210 | "actioneventlistener6": { | ||
211 | "module": "montage/core/event/action-event-listener", | ||
212 | "name": "ActionEventListener", | ||
213 | "properties": { | ||
214 | "handler": { | ||