mediaelement_rails 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/.gitignore +8 -0
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +97 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +29 -0
  6. data/Rakefile +39 -0
  7. data/app/assets/flash/mediaelement_rails/flashmediaelement.swf +0 -0
  8. data/app/assets/images/mediaelement_rails/background.png +0 -0
  9. data/app/assets/images/mediaelement_rails/bigplay.png +0 -0
  10. data/app/assets/images/mediaelement_rails/controls-ted.png +0 -0
  11. data/app/assets/images/mediaelement_rails/controls-wmp-bg.png +0 -0
  12. data/app/assets/images/mediaelement_rails/controls-wmp.png +0 -0
  13. data/app/assets/images/mediaelement_rails/controls.png +0 -0
  14. data/app/assets/images/mediaelement_rails/loading.gif +0 -0
  15. data/app/assets/javascripts/mediaelement_rails/index.js +3 -0
  16. data/app/assets/javascripts/mediaelement_rails/mediaelement.js +943 -0
  17. data/app/assets/javascripts/mediaelement_rails/mediaelementplayer.js +1703 -0
  18. data/app/assets/javascripts/mediaelement_rails/rails.js.erb +5 -0
  19. data/app/assets/silverlight/mediaelement_rails/silverlightmediaelement.xap +0 -0
  20. data/app/assets/stylesheets/mediaelement_rails/index.css +1 -0
  21. data/app/assets/stylesheets/mediaelement_rails/mediaelementplayer.css.erb +571 -0
  22. data/app/assets/stylesheets/mediaelement_rails/mejs-skins.css.erb +283 -0
  23. data/app/controllers/mediaelement_rails/application_controller.rb +4 -0
  24. data/app/helpers/mediaelement_rails/application_helper.rb +4 -0
  25. data/app/views/layouts/application.html.erb +14 -0
  26. data/app/views/layouts/mediaelement_rails/application.html.erb +14 -0
  27. data/config/routes.rb +2 -0
  28. data/lib/generators/mediaelement_update/USAGE +7 -0
  29. data/lib/generators/mediaelement_update/mediaelement_update_generator.rb +46 -0
  30. data/lib/mediaelement_rails/engine.rb +5 -0
  31. data/lib/mediaelement_rails/version.rb +3 -0
  32. data/lib/mediaelement_rails.rb +4 -0
  33. data/lib/tasks/mediaelement_rails_tasks.rake +4 -0
  34. data/mediaelement_rails.gemspec +20 -0
  35. data/script/rails +6 -0
  36. data/test/dummy/Rakefile +7 -0
  37. data/test/dummy/app/assets/javascripts/application.js +9 -0
  38. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  39. data/test/dummy/app/controllers/application_controller.rb +3 -0
  40. data/test/dummy/app/helpers/application_helper.rb +2 -0
  41. data/test/dummy/app/mailers/.gitkeep +0 -0
  42. data/test/dummy/app/models/.gitkeep +0 -0
  43. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  44. data/test/dummy/config/application.rb +45 -0
  45. data/test/dummy/config/boot.rb +10 -0
  46. data/test/dummy/config/database.yml +25 -0
  47. data/test/dummy/config/environment.rb +5 -0
  48. data/test/dummy/config/environments/development.rb +24 -0
  49. data/test/dummy/config/environments/production.rb +51 -0
  50. data/test/dummy/config/environments/test.rb +34 -0
  51. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  52. data/test/dummy/config/initializers/inflections.rb +10 -0
  53. data/test/dummy/config/initializers/mime_types.rb +5 -0
  54. data/test/dummy/config/initializers/secret_token.rb +7 -0
  55. data/test/dummy/config/initializers/session_store.rb +8 -0
  56. data/test/dummy/config/initializers/wrap_parameters.rb +12 -0
  57. data/test/dummy/config/locales/en.yml +5 -0
  58. data/test/dummy/config/routes.rb +4 -0
  59. data/test/dummy/config.ru +4 -0
  60. data/test/dummy/lib/assets/.gitkeep +0 -0
  61. data/test/dummy/log/.gitkeep +0 -0
  62. data/test/dummy/public/404.html +26 -0
  63. data/test/dummy/public/422.html +26 -0
  64. data/test/dummy/public/500.html +26 -0
  65. data/test/dummy/public/favicon.ico +0 -0
  66. data/test/dummy/script/rails +6 -0
  67. data/test/integration/navigation_test.rb +10 -0
  68. data/test/mediaelement_rails_test.rb +7 -0
  69. data/test/test_helper.rb +10 -0
  70. metadata +170 -0
@@ -0,0 +1,5 @@
1
+ //= require ./mediaelement
2
+
3
+ mejs.MediaElementDefaults.pluginPath = ''
4
+ mejs.MediaElementDefaults.flashName = '<%= asset_path 'mediaelement_rails/flashmediaelement.swf' %>'
5
+ mejs.MediaElementDefaults.silverlightName = '<%= asset_path 'mediaelement_rails/silverlightmediaelement.xap' %>'
@@ -0,0 +1 @@
1
+ //=require ./mediaelementplayer
@@ -0,0 +1,571 @@
1
+ .mejs-container {
2
+ position: relative;
3
+ background: #000;
4
+ font-family: Helvetica, Arial;
5
+ }
6
+
7
+ .mejs-container-fullscreen {
8
+ position: fixed;
9
+ left: 0;
10
+ top: 0;
11
+ right: 0;
12
+ bottom: 0;
13
+ overflow: hidden;
14
+ }
15
+ .mejs-container-fullscreen .mejs-mediaelement,
16
+ .mejs-container-fullscreen video {
17
+ width: 100%;
18
+ height: 100%;
19
+ }
20
+
21
+ /* Start: LAYERS */
22
+ .mejs-background {
23
+ position: absolute;
24
+ top: 0;
25
+ left: 0;
26
+ }
27
+ .mejs-mediaelement {
28
+ position: absolute;
29
+ top: 0;
30
+ left: 0;
31
+ width: 100%;
32
+ height: 100%;
33
+ }
34
+ .mejs-poster {
35
+ position: absolute;
36
+ top: 0;
37
+ left: 0;
38
+ }
39
+ .mejs-overlay {
40
+ position: absolute;
41
+ top: 0;
42
+ left: 0;
43
+ }
44
+ .mejs-overlay-play {
45
+ cursor: pointer;
46
+ }
47
+ .mejs-overlay-button {
48
+ position: absolute;
49
+ top: 50%;
50
+ left: 50%;
51
+ width: 100px;
52
+ height: 100px;
53
+ margin: -50px 0 0 -50px;
54
+ background: url(<%= asset_path('mediaelement_rails/bigplay.png') %>) top left no-repeat;
55
+ }
56
+ .mejs-overlay:hover .mejs-overlay-button{
57
+ background-position: 0 -100px ;
58
+ }
59
+ .mejs-overlay-loading {
60
+ position: absolute;
61
+ top: 50%;
62
+ left: 50%;
63
+ width: 80px;
64
+ height: 80px;
65
+ margin: -40px 0 0 -40px;
66
+ background: #333;
67
+ background: url(<%= asset_path('mediaelement_rails/background.png') %>);
68
+ background: rgba(0, 0, 0, 0.9);
69
+ background: -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,0.9)), to(rgba(0,0,0,0.9)));
70
+ background: -moz-linear-gradient(top, rgba(50,50,50,0.9), rgba(0,0,0,0.9));
71
+ background: linear-gradient(rgba(50,50,50,0.9), rgba(0,0,0,0.9));
72
+ }
73
+ .mejs-overlay-loading span {
74
+ display:block;
75
+ width: 80px;
76
+ height: 80px;
77
+ background: transparent url(<%= asset_path('mediaelement_rails/loading.gif') %>) center center no-repeat;
78
+ }
79
+
80
+ /* End: LAYERS */
81
+
82
+ /* Start: CONTROL BAR */
83
+ .mejs-container .mejs-controls {
84
+ position: absolute;
85
+ background: none;
86
+ list-style-type: none;
87
+ margin: 0;
88
+ padding: 0;
89
+ bottom: 0;
90
+ left: 0;
91
+ background: url(<%= asset_path('mediaelement_rails/background.png') %>);
92
+ background: rgba(0, 0, 0, 0.7);
93
+ background: -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,0.7)), to(rgba(0,0,0,0.7)));
94
+ background: -moz-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
95
+ background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
96
+ height: 30px;
97
+ width: 100%;
98
+ }
99
+ .mejs-container .mejs-controls div {
100
+ list-style-type: none;
101
+ background-image: none;
102
+ display: block;
103
+ float: left;
104
+ margin: 0;
105
+ padding: 0;
106
+ width: 26px;
107
+ height: 26px;
108
+ font-size: 11px;
109
+ line-height: 11px;
110
+ background: 0;
111
+ font-family: Helvetica, Arial;
112
+ border: 0;
113
+ }
114
+
115
+ .mejs-controls .mejs-button button {
116
+ cursor: pointer;
117
+ display: block;
118
+ font-size: 0px;
119
+ line-height: 0;
120
+ text-decoration: none;
121
+ margin: 7px 5px;
122
+ padding: 0;
123
+ position: absolute;
124
+ height: 16px;
125
+ width: 16px;
126
+ border: 0;
127
+ background: transparent url(<%= asset_path('mediaelement_rails/controls.png') %>) 0 0 no-repeat;
128
+ }
129
+ /* End: CONTROL BAR */
130
+
131
+ /* Start: Time (current / duration) */
132
+ .mejs-container .mejs-controls .mejs-time {
133
+ color: #fff;
134
+ display: block;
135
+ height: 17px;
136
+ width: auto;
137
+ padding: 8px 3px 0 3px ;
138
+ overflow: hidden;
139
+ text-align: center;
140
+ padding: auto 4px;
141
+ }
142
+ .mejs-container .mejs-controls .mejs-time span {
143
+ font-size: 11px;
144
+ color: #fff;
145
+ line-height: 12px;
146
+ display: block;
147
+ float: left;
148
+ margin: 1px 2px 0 0;
149
+ width: auto;
150
+ }
151
+ /* End: Time (current / duration) */
152
+
153
+
154
+ /* Start: Play/pause */
155
+ .mejs-controls .mejs-play button {
156
+ background-position:0 0;
157
+ }
158
+ .mejs-controls .mejs-pause button {
159
+ background-position:0 -16px;
160
+ }
161
+ /* End: Play/pause */
162
+
163
+
164
+ /* Stop */
165
+ .mejs-controls .mejs-stop button {
166
+ background-position: -112px 0;
167
+ }
168
+ /* End: Play/pause */
169
+
170
+ /* Start: Progress bar */
171
+ .mejs-controls div.mejs-time-rail {
172
+ width: 200px;
173
+ padding-top: 5px;
174
+ }
175
+ .mejs-controls .mejs-time-rail span {
176
+ display: block;
177
+ position: absolute;
178
+ width: 180px;
179
+ height: 10px;
180
+ -webkit-border-radius: 2px;
181
+ -moz-border-radius: 2px;
182
+ border-radius: 2px;
183
+ cursor: pointer;
184
+ }
185
+ .mejs-controls .mejs-time-rail .mejs-time-total {
186
+ margin: 5px;
187
+ background: #333;
188
+ background: rgba(50,50,50,0.8);
189
+ background: -webkit-gradient(linear, left top, left bottom, from(rgba(30,30,30,0.8)), to(rgba(60,60,60,0.8)));
190
+ background: -moz-linear-gradient(top, rgba(30,30,30,0.8), rgba(60,60,60,0.8));
191
+ background: linear-gradient(rgba(30,30,30,0.8), rgba(60,60,60,0.8));
192
+ filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#1E1E1E,endColorstr=#3C3C3C);
193
+ }
194
+ .mejs-controls .mejs-time-rail .mejs-time-loaded {
195
+ background: #3caac8;
196
+ background: rgba(60,170,200,0.8);
197
+ background: -webkit-gradient(linear, left top, left bottom, from(rgba(44,124,145,0.8)), to(rgba(78,183,212,0.8)));
198
+ background: -moz-linear-gradient(top, rgba(44,124,145,0.8), rgba(78,183,212,0.8));
199
+ background: linear-gradient(rgba(44,124,145,0.8), rgba(78,183,212,0.8));
200
+ filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#2C7C91,endColorstr=#4EB7D4);
201
+ width: 0;
202
+ }
203
+ .mejs-controls .mejs-time-rail .mejs-time-current {
204
+ width: 0;
205
+ background: #fff;
206
+ background: rgba(255,255,255,0.8);
207
+ background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.9)), to(rgba(200,200,200,0.8)));
208
+ background: -moz-linear-gradient(top, rgba(255,255,255,0.9), rgba(200,200,200,0.8));
209
+ filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#FFFFFF,endColorstr=#C8C8C8);
210
+ }
211
+
212
+ .mejs-controls .mejs-time-rail .mejs-time-handle {
213
+ display: none;
214
+ position: absolute;
215
+ margin: 0;
216
+ width: 10px;
217
+ background: #fff;
218
+ -webkit-border-radius: 5px;
219
+ -moz-border-radius: 5px;
220
+ border-radius: 5px;
221
+ cursor: pointer;
222
+ border: solid 2px #333;
223
+ top: -2px;
224
+ text-align: center;
225
+ }
226
+
227
+ .mejs-controls .mejs-time-rail .mejs-time-float {
228
+ visibility: hidden;
229
+ position: absolute;
230
+ display: block;
231
+ background: #eee;
232
+ width: 36px;
233
+ height: 17px;
234
+ border: solid 1px #333;
235
+ top: -26px;
236
+ margin-left: -18px;
237
+ text-align: center;
238
+ color: #111;
239
+ }
240
+ .mejs-controls .mejs-time-rail:hover .mejs-time-float {
241
+ visibility: visible;
242
+ }
243
+ .mejs-controls .mejs-time-rail .mejs-time-float-current {
244
+ margin: 2px;
245
+ width: 30px;
246
+ display: block;
247
+ text-align: center;
248
+ left: 0;
249
+ }
250
+ .mejs-controls .mejs-time-rail .mejs-time-float-corner {
251
+ position: absolute;
252
+ display: block;
253
+ width: 0;
254
+ height: 0;
255
+ line-height: 0;
256
+ border: solid 5px #eee;
257
+ border-color: #eee transparent transparent transparent;
258
+ -webkit-border-radius: 0;
259
+ -moz-border-radius: 0;
260
+ border-radius: 0;
261
+ top: 15px;
262
+ left: 13px;
263
+
264
+ }
265
+
266
+
267
+
268
+
269
+ /*
270
+ .mejs-controls .mejs-time-rail:hover .mejs-time-handle {
271
+ visibility:visible;
272
+ }
273
+ */
274
+ /* End: Progress bar */
275
+
276
+ /* Start: Fullscreen */
277
+ .mejs-controls .mejs-fullscreen-button button {
278
+ background-position:-32px 0;
279
+ }
280
+ .mejs-controls .mejs-unfullscreen button {
281
+ background-position:-32px -16px;
282
+ }
283
+ /* End: Fullscreen */
284
+
285
+
286
+ /* Start: Mute/Volume */
287
+ .mejs-controls .mejs-volume-button {
288
+ }
289
+
290
+ .mejs-controls .mejs-mute button {
291
+ background-position:-16px -16px;
292
+ }
293
+
294
+ .mejs-controls .mejs-unmute button {
295
+ background-position:-16px 0;
296
+ }
297
+
298
+ .mejs-controls .mejs-volume-button {
299
+ position: relative;
300
+ }
301
+
302
+ .mejs-controls .mejs-volume-button .mejs-volume-slider {
303
+ display: none;
304
+ height: 115px;
305
+ width: 25px;
306
+ background: url(<%= asset_path('mediaelement_rails/background.png') %>);
307
+ background: rgba(50, 50, 50, 0.7);
308
+ -webkit-border-radius: 0;
309
+ -moz-border-radius: 0;
310
+ border-radius: 0;
311
+ top: -115px;
312
+ left: 0;
313
+ z-index: 1;
314
+ position: absolute;
315
+ margin: 0;
316
+ }
317
+ .mejs-controls .mejs-volume-button:hover {
318
+ -webkit-border-radius: 0 0 4px 4px ;
319
+ -moz-border-radius: 0 0 4px 4px ;
320
+ border-radius: 0 0 4px 4px ;
321
+ }
322
+ .mejs-controls .mejs-volume-button:hover .mejs-volume-slider {
323
+ display: block;
324
+ }
325
+
326
+ .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total {
327
+ position: absolute;
328
+ left: 11px;
329
+ top: 8px;
330
+ width: 2px;
331
+ height: 100px;
332
+ background: #ddd;
333
+ background: rgba(255, 255, 255, 0.5);
334
+ margin: 0;
335
+ }
336
+
337
+ .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current {
338
+ position: absolute;
339
+ left: 11px;
340
+ top: 8px;
341
+ width: 2px;
342
+ height: 100px;
343
+ background: #ddd;
344
+ background: rgba(255, 255, 255, 0.9);
345
+ margin: 0;
346
+ }
347
+
348
+ .mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle {
349
+ position: absolute;
350
+ left: 4px;
351
+ top: -3px;
352
+ width: 16px;
353
+ height: 6px;
354
+ background: #ddd;
355
+ background: rgba(255, 255, 255, 0.9);
356
+ cursor: N-resize;
357
+ -webkit-border-radius: 1px;
358
+ -moz-border-radius: 1px;
359
+ border-radius: 1px;
360
+ margin: 0;
361
+ }
362
+
363
+ /* End: Mute/Volume */
364
+
365
+
366
+
367
+
368
+ /* Start: TRACK (Captions and Chapters) */
369
+ .mejs-controls .mejs-captions-button {
370
+ position: relative;
371
+ }
372
+
373
+ .mejs-controls .mejs-captions-button button {
374
+ background-position:-48px 0;
375
+ }
376
+ .mejs-controls .mejs-captions-button .mejs-captions-selector {
377
+ visibility: hidden;
378
+ position: absolute;
379
+ bottom: 26px;
380
+ right: -10px;
381
+ width: 130px;
382
+ height: 100px;
383
+ background: url(<%= asset_path('mediaelement_rails/background.png') %>);
384
+ background: rgba(50,50,50,0.7);
385
+ border: solid 1px transparent;
386
+ padding: 10px;
387
+ overflow: hidden;
388
+ -webkit-border-radius: 0;
389
+ -moz-border-radius: 0;
390
+ border-radius: 0;
391
+ }
392
+ .mejs-controls .mejs-captions-button:hover .mejs-captions-selector {
393
+ visibility: visible;
394
+ }
395
+
396
+ .mejs-controls .mejs-captions-button .mejs-captions-selector ul {
397
+ margin: 0;
398
+ padding: 0;
399
+ display: block;
400
+ list-style-type: none !important;
401
+ overflow: hidden;
402
+ }
403
+ .mejs-controls .mejs-captions-button .mejs-captions-selector ul li{
404
+ margin: 0 0 6px 0;
405
+ padding: 0;
406
+ list-style-type: none !important;
407
+ display:block;
408
+ color: #fff;
409
+ overflow: hidden;
410
+ }
411
+ .mejs-controls .mejs-captions-button .mejs-captions-selector ul li input{
412
+ clear: both;
413
+ float: left;
414
+ margin: 3px 3px 0px 5px;
415
+ }
416
+ .mejs-controls .mejs-captions-button .mejs-captions-selector ul li label{
417
+ width: 100px;
418
+ float: left;
419
+ padding: 4px 0 0 0;
420
+ line-height: 15px;
421
+ font-family: helvetica, arial;
422
+ font-size: 10px;
423
+ }
424
+
425
+ .mejs-controls .mejs-captions-button .mejs-captions-translations {
426
+ font-size: 10px;
427
+ margin: 0 0 5px 0;
428
+ }
429
+
430
+
431
+ .mejs-chapters {
432
+ position: absolute;
433
+ top: 0;
434
+ left: 0;
435
+ -xborder-right: solid 1px #fff;
436
+ width: 10000px;
437
+ }
438
+ .mejs-chapters .mejs-chapter {
439
+ position: absolute;
440
+ float: left;
441
+ background: #222;
442
+ background: rgba(0, 0, 0, 0.7);
443
+ background: -webkit-gradient(linear, left top, left bottom, from(rgba(50,50,50,0.7)), to(rgba(0,0,0,0.7)));
444
+ background: -moz-linear-gradient(top, rgba(50,50,50,0.7), rgba(0,0,0,0.7));
445
+ background: linear-gradient(rgba(50,50,50,0.7), rgba(0,0,0,0.7));
446
+ filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#323232,endColorstr=#000000);
447
+ overflow: hidden;
448
+ border: 0;
449
+ }
450
+ .mejs-chapters .mejs-chapter .mejs-chapter-block {
451
+ font-size: 11px;
452
+ color: #fff;
453
+ padding: 5px;
454
+ display: block;
455
+ border-right: solid 1px #333;
456
+ border-bottom: solid 1px #333;
457
+ cursor: pointer;
458
+ }
459
+ .mejs-chapters .mejs-chapter .mejs-chapter-block-last {
460
+ border-right: none;
461
+ }
462
+
463
+ .mejs-chapters .mejs-chapter .mejs-chapter-block:hover {
464
+ /*background: #333;*/
465
+ background: #666;
466
+ background: rgba(102,102,102, 0.7);
467
+ background: -webkit-gradient(linear, left top, left bottom, from(rgba(102,102,102,0.7)), to(rgba(50,50,50,0.6)));
468
+ background: -moz-linear-gradient(top, rgba(102,102,102,0.7), rgba(50,50,50,0.6));
469
+ filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#666666,endColorstr=#323232);
470
+ }
471
+ .mejs-chapters .mejs-chapter .mejs-chapter-block .ch-title{
472
+ font-size: 12px;
473
+ font-weight: bold;
474
+ display: block;
475
+ white-space:nowrap;
476
+ text-overflow: ellipsis;
477
+ margin: 0 0 3px 0;
478
+ line-height: 12px;
479
+ }
480
+ .mejs-chapters .mejs-chapter .mejs-chapter-block .ch-timespan{
481
+ font-size: 12px;
482
+ line-height: 12px;
483
+ margin: 3px 0 4px 0;
484
+ display: block;
485
+ white-space:nowrap;
486
+ text-overflow: ellipsis;
487
+ }
488
+
489
+
490
+ .mejs-captions-layer {
491
+ position: absolute;
492
+ bottom: 0;
493
+ left: 0;
494
+ text-align:center;
495
+ /*font-weight: bold;*/
496
+ line-height: 22px;
497
+ font-size: 12px;
498
+ color: #fff;
499
+ }
500
+ .mejs-captions-layer a {
501
+ color: #fff;
502
+ text-decoration: underline;
503
+ }
504
+ .mejs-captions-layer[lang=ar] {
505
+ font-size: 20px;
506
+ font-weight: normal;
507
+ }
508
+
509
+ .mejs-captions-position {
510
+ position: absolute;
511
+ width: 100%;
512
+ bottom: 15px;
513
+ left: 0;
514
+ }
515
+
516
+ .mejs-captions-position-hover {
517
+ bottom: 45px;
518
+ }
519
+
520
+ .mejs-captions-text {
521
+ padding: 3px 5px;
522
+ background: url(<%= asset_path('mediaelement_rails/background.png') %>);
523
+ background: rgba(20, 20, 20, 0.8);
524
+
525
+ }
526
+ /* End: TRACK (Captions and Chapters) */
527
+
528
+
529
+
530
+ .mejs-clear {
531
+ clear: both;
532
+ }
533
+
534
+ /* Start: ERROR */
535
+ .me-cannotplay {
536
+ }
537
+ .me-cannotplay a {
538
+ color: #fff;
539
+ font-weight: bold;
540
+ }
541
+ .me-cannotplay span {
542
+ padding: 15px;
543
+ display: block;
544
+ }
545
+ /* End: ERROR */
546
+
547
+
548
+ /* Start: Loop */
549
+ .mejs-controls .mejs-loop-off button{
550
+ background-position: -64px -16px;
551
+ }
552
+ .mejs-controls .mejs-loop-on button {
553
+ background-position: -64px 0;
554
+ }
555
+ /* End: Loop */
556
+
557
+ /* Start: backlight */
558
+ .mejs-controls .mejs-backlight-off button{
559
+ background-position: -80px -16px;
560
+ }
561
+ .mejs-controls .mejs-backlight-on button {
562
+ background-position: -80px 0;
563
+ }
564
+ /* End: backlight */
565
+
566
+
567
+ /* Start: picture controls */
568
+ .mejs-controls .mejs-picturecontrols-button{
569
+ background-position: -96px 0;
570
+ }
571
+ /* End: picture controls */