OLD | NEW |
---|---|
1 { | 1 { |
dtu
2013/07/17 21:09:38
You can also define actions at the top of the page
anandc
2013/07/17 22:08:20
Done.
| |
2 "description": "Video Stack Perf benchmark", | 2 "description": "Video Stack Perf benchmark", |
3 "pages": [ | 3 "pages": [ |
4 { | 4 { |
5 "url": "file:///tough_video_cases/video.html", | 5 "url": "file:///tough_video_cases/video.html?src=crowd.wav&id=audio_1&type =audio", |
6 "media_metrics": [ | |
7 { "action": "play", | |
8 "selector": "#audio_1", | |
9 "wait_for_playing": true, | |
10 "wait_for_ended": true | |
11 } | |
12 ] | |
13 }, | |
14 { | |
15 "url": "file:///tough_video_cases/video.html?src=crowd.ogg&id=audio_1&type =audio", | |
16 "media_metrics": [ | |
17 { "action": "play", | |
18 "selector": "#audio_1", | |
19 "wait_for_playing": true, | |
20 "wait_for_ended": true | |
21 } | |
22 ] | |
23 }, | |
24 { | |
25 "url": "file:///tough_video_cases/video.html?src=crowd1080.mp4&id=video_1& type=video", | |
6 "media_metrics": [ | 26 "media_metrics": [ |
7 { "action": "play", | 27 { "action": "play", |
8 "selector": "#video_1", | 28 "selector": "#video_1", |
29 "wait_for_playing": true, | |
30 "wait_for_ended": true | |
31 } | |
32 ] | |
33 }, | |
34 { | |
35 "url": "file:///tough_video_cases/video.html?src=crowd1080.ogv&id=video_1& type=video", | |
36 "media_metrics": [ | |
37 { "action": "play", | |
38 "selector": "#video_1", | |
39 "wait_for_playing": true, | |
40 "wait_for_ended": true | |
41 } | |
42 ] | |
43 }, | |
44 { | |
45 "url": "file:///tough_video_cases/video.html?src=crowd1080.webm&id=video_1 &type=video", | |
46 "media_metrics": [ | |
47 { "action": "play", | |
48 "selector": "#video_1", | |
49 "wait_for_playing": true, | |
50 "wait_for_ended": true | |
51 } | |
52 ] | |
53 }, | |
54 { | |
55 "url": "file:///tough_video_cases/video.html?src=crowd2160.mp4&id=video_1& type=video", | |
56 "media_metrics": [ | |
57 { "action": "play", | |
58 "selector": "#video_1", | |
59 "wait_for_playing": true, | |
60 "wait_for_ended": true | |
61 } | |
62 ] | |
63 }, | |
64 { | |
65 "url": "file:///tough_video_cases/video.html?src=crowd2160.ogv&id=video_1& type=video", | |
66 "media_metrics": [ | |
67 { "action": "play", | |
68 "selector": "#video_1", | |
69 "wait_for_playing": true, | |
70 "wait_for_ended": true | |
71 } | |
72 ] | |
73 }, | |
74 { | |
75 "url": "file:///tough_video_cases/video.html?src=crowd2160.webm&id=video_1 &type=video", | |
76 "media_metrics": [ | |
77 { "action": "play", | |
78 "selector": "#video_1", | |
79 "wait_for_playing": true, | |
80 "wait_for_ended": true | |
81 } | |
82 ] | |
83 }, | |
84 { | |
85 "url": "file:///tough_video_cases/video.html?src=tulip2.mp3&id=audio_1&typ e=audio", | |
86 "media_metrics": [ | |
87 { "action": "play", | |
88 "selector": "#audio_1", | |
89 "wait_for_playing": true, | |
90 "wait_for_ended": true | |
91 } | |
92 ] | |
93 }, | |
94 { | |
95 "url": "file:///tough_video_cases/video.html?src=tulip2.ogg&id=audio_1&typ e=audio", | |
96 "media_metrics": [ | |
97 { "action": "play", | |
98 "selector": "#audio_1", | |
99 "wait_for_playing": true, | |
100 "wait_for_ended": true | |
101 } | |
102 ] | |
103 }, | |
104 { | |
105 "url": "file:///tough_video_cases/video.html?src=tulip2.wav&id=audio_1&typ e=audio", | |
106 "media_metrics": [ | |
107 { "action": "play", | |
108 "selector": "#audio_1", | |
109 "wait_for_playing": true, | |
110 "wait_for_ended": true | |
111 } | |
112 ] | |
113 }, | |
114 { | |
115 "url": "file:///tough_video_cases/video.html?src=tulip2.mp4&id=video_1&typ e=video", | |
116 "media_metrics": [ | |
117 { "action": "play", | |
118 "selector": "#video_1", | |
119 "wait_for_playing": true, | |
120 "wait_for_ended": true | |
121 } | |
122 ] | |
123 }, | |
124 { | |
125 "url": "file:///tough_video_cases/video.html?src=tulip2.ogv&id=video_1&typ e=video", | |
126 "media_metrics": [ | |
127 { "action": "play", | |
128 "selector": "#video_1", | |
129 "wait_for_playing": true, | |
130 "wait_for_ended": true | |
131 } | |
132 ] | |
133 }, | |
134 { | |
135 "url": "file:///tough_video_cases/video.html?src=tulip2.webm&id=video_1&ty pe=video", | |
136 "media_metrics": [ | |
137 { "action": "play", | |
138 "selector": "#video_1", | |
9 "wait_for_playing": true, | 139 "wait_for_playing": true, |
10 "wait_for_ended": true | 140 "wait_for_ended": true |
11 } | 141 } |
12 ] | 142 ] |
13 } | 143 } |
14 ] | 144 ] |
15 } | 145 } |
OLD | NEW |