-
Notifications
You must be signed in to change notification settings - Fork 6
/
music_video_remixer.php
1029 lines (814 loc) · 68.8 KB
/
music_video_remixer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Battlehooch - Joke | a remixable music video</title>
<link href="/odbol_gear.css" rel="stylesheet" type="text/css" title="Default" />
<link rel="stylesheet" type="text/css" href="/global.css" />
<script language="javascript" type="text/javascript">
//This function hides email addresses in mailto: links to keep
//your precious email address out of the hands of evil spammers.
function mailit(user, domain) {
var email = "mailto:" + user + "@" + domain;
location.href = email;
}
</script>
<style type="text/css">
<!--
html body {
background-image: none;
}
.elements {
position: relative;
left: 0px;
}
.poemLeft, .poemRight {
float:left;
}
.poemRight {
width: 415px;
margin-left: 3px;
}
.poemRight p {
margin-top: 0;
}
a,
a:link,
a:hover,
a:visited,
a:active {
font-weight: bold;
color: #6A9AAE;
text-decoration:none;
}
a:hover {
color: #fff;
}
-->
</style>
<!-- used for LSD -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<link rel="stylesheet" type="text/css" media="screen, projection" href="/lsd/fd-slider/fd-slider.min.css" />
<script src="/lsd/fd-slider/js/fd-slider.js"></script>
<script type="text/javascript">
// do not allow fdSlider to clobber ALL inputs on the page with its sliders. we only want on mixer, not effects!
fdSlider.removeOnload();
</script>
<!--script type="text/javascript" src="http://odbol.com/_js/jquery.js"></script-->
<!--script src="http://code.jquery.com/jquery-1.5.min.js"></script-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<link type="text/css" href="/_js/jquery-ui/css/vader/jquery-ui-1.8.5.custom.css" rel='stylesheet' />
<script type="text/javascript" src="/_js/jquery-ui/js/jquery-ui.js"></script>
<!-- script src="/lsd/jqswipe.js" type="text/javascript"></script-->
<!--
<script type='text/javascript'>
$(document).bind("mobileinit", function(){
$.mobile.autoInitializePage = false;
$.mobile.linkBindingEnabled = false;
});
</script>
<link href="/lsd/verticalSlider.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.js"></script>
<script src="/lsd/verticalSlider.js"></script>
-->
<link type="text/css" href="/lsd/lsd.css" rel='stylesheet' />
<style type="text/css">
/* odbol fixes for LSD*/
body {
margin: 0;
padding: 0;
}
.content {
z-index: 100;
}
.navbar, #logo {
z-index: 200;
}
</style>
<!-- facebook share tags (I want my thumbnail in the news feed!) -->
<meta property="og:title" content="Battlehooch - Joke | a remixable music video" />
<meta property="og:description" content="Watch the video, then remix it in the browser and share with your friends! Choose from a huge library of video clips and images and blend them together using the online video mixer, LSD." />
<meta property="og:image" content="http://lsd.odbol.com/lsd/icons/stamp-lsd-114.png" />
<!-- end facebook share tags -->
<link rel="icon" type="image/png" href="/lsd/icons/stamp-lsd-16.png" />
<!-- iphone app icons -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon-precomposed" href="/lsd/icons/stamp-lsd-57.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/lsd/icons/stamp-lsd-72.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/lsd/icons/stamp-lsd-114.png" />
<link rel="apple-touch-startup-image" href="/lsd/icons/stamp-lsd-startup.png">
<!-- END iphone app icons -->
<!-- END used for LSD -->
<!--- for music player -->
<link type="text/css" href="/lsd/musicPlayer.css" rel='stylesheet' />
<!-- documentationeer -->
<link type="text/css" href="/_js/documentationeer/documentationeer.css" rel='stylesheet' media='all' />
</head>
<body>
<h2 class='musicLogo'><a href='http://battlehooch.com'>Battlehooch</a></h2>
<h3 class='songLogo'><a href='http://battlehooch.com'>Joke</a></h3>
<div class='intro'>
<p class='motto'>an interactive music video</p>
<div id='startButtons'>
<div id='loadButtons' class='active'>
<div class='start button dialogButton remix highlighted'>
<h3>Start</h3>
<p>Create your own Battlehooch video!</p>
</div>
</div>
</div>
<div class='footer'>
<ul class='footerNav'>
<li><a href='#watch' class='start watch' title='Watch the official remix'>Watch</a></li>
<li><a href='#about' class='aboutLink'>About</a></li>
<li id='qualitySelectors'><a class='sd selected' href='#sd'>SD</a> | <a class='hd' href='#hd'>HD</a></li>
</ul>
<div id='about' class='aboutBox dialogButton closed'>
<h3 class='gist'>Create your own music video for the Battlehooch song <em>Joke</em></h3>
<div class='flowButtons'>
<div class='arrow_box right button watch'>
<h3>Watch</h3>
<p>Watch the original video</p>
</div>
<div class='arrow_box right button remix'>
<h3>Remix</h3>
<p>Hit remix to add video clips and transitions</p>
</div>
<div class='arrow_box button'>
<h3>Share</h3>
<p>Share your remix with your friends</p>
</div>
<br class='clear' />
</div>
<a href='http://odbol.com/' class='poweredBy'><span class='power'>Powered by</span> <span class='name'>LSD</span></a>
<div class='waitingDesc'>
<p>Supported on Chrome, Firefox 4+, Safari 4+. Partial support on iPhone, Android.</p>
<p><a href='https://github.com/odbol/LSD--Layer-Synthesis-Device-' target='_blank'>Code</a> and video content copyright <a href="http://odbol.com">odbol</a>, 2010 - <?php echo date('Y');?><br />
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br /><span class='licenseText'><span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/MovingImage" property="dc:title" rel="dc:type">LSD (Layer Synthesis Device)</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://odbol.com/lsd" property="cc:attributionName" rel="cc:attributionURL">Tyler Freeman</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.<br />Permissions beyond the scope of this license may be available at <a xmlns:cc="http://creativecommons.org/ns#" href="http://odbol.com/" rel="cc:morePermissions">http://odbol.com/</a>.</span></p>
<br />Animated GIFs by <a href='http://lcky.tumblr.com/' target='_blank'>Adam Harms</a>, <a href='http://dvdp.tumblr.com/' target='_blank'>David Ope</a>, and unknown sources.
</div>
</div>
<div id='qualityButtons' style='display:none'>
<div class='start button dialogButton sd highlighted'>
<h3>Standard Quality</h3>
<p>For slower computers/limited bandwidth</p>
</div>
<div class='start button dialogButton hd'>
<h3>High Quality</h3>
<p>Requires a new computer and fast internet connection</p>
</div>
</div>
</div>
<noscript>
<p>Please enable Javascript for LSD to take effect.</p>
</noscript>
</div>
<script type="text/javascript" src="/_js/modernizr.min.js"></script>
<script type="text/javascript" src="/_js/jQuery-Knob/js/jquery.knob.js"></script>
<script type="text/javascript">
/***
@const FIREBASE_URL: The root URL of your Firebase server.
Available at http://firebase.com
***/
var FIREBASE_URL = '';
if (/lsd.odbol.com/.test(window.location.href)) {
/*
This is my database... please do not use it!
Sign up for your own at http://firebase.com if you would
like to rehost or modify LSD. It's free!
*/
FIREBASE_URL = 'http://lsd.firebaseio.com';
}
if (!FIREBASE_URL) {
console.log('FIREBASE_URL is not set to a valid Firebase database. Please set the line in the index HTML file to use crowdsourced features.');
}
//the end-all test
var isMobile = (/android.+webkit/i).test(navigator.userAgent) || (/iPad|iPhone|iPod/).test(navigator.platform);
//inject jQuery mobile for vertical slider fix
if (isMobile) {
}
// if true, the buttons will ask them if they want HD videos. which are too slow to load that no one will wait long enough.
// TODO: add this to a "Settings" panel
var IS_HD_ALLOWED = /hd=true/.test(window.location.href);
</script>
<!-- collaborative support -->
<script type='text/javascript' src='http://static.firebase.com/v0/firebase.js'></script>
<script type="text/javascript" src="/lsd/crowd.js"></script>
<!-- EFFECTS -->
<script type="text/javascript" src="/lsd/InputDevices/mouse.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/converters/autowire.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/converters/heroku.js"></script>
<!--script type="text/javascript" src="/_js/Seriouslyjs/effects/generator.interferences.js"></script-->
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.mixer.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/seriously.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.ascii.js"></script>
<!--script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.bleach-bypass.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.blend.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.color.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.dent.js"></script-->
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.edge.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.emboss.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.exposure.js"></script>
<!--script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.lumakey.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.fader.js"></script-->
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.hue-saturation.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.invert.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.nightvision.js"></script>
<!--script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.noise.js"></script-->
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.ripple.js"></script>
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.sepia.js"></script>
<!--script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.tone.js"></script-->
<script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.vignette.js"></script>
<!--script type="text/javascript" src="/_js/Seriouslyjs/effects/seriously.split.js"></script-->
<script type="text/javascript" src="/lsd/renderers/BaseRenderer.js"></script>
<script type="text/javascript" src="/lsd/renderers/CanvasRenderer.js"></script>
<script type="text/javascript" src="/lsd/renderers/SeriousRenderer.js"></script>
<!-- END EFFECTS -->
<script type="text/javascript" src="/lsd/image_preloader.js"></script>
<script type="text/javascript" src="/lsd/imageSlider.js"></script>
<script type="text/javascript" src="/lsd/lsd.js"></script>
<!-- for music integration -->
<script type="text/javascript" src="/_js/popcorn.min.js"></script>
<script type="text/javascript" src="/lsd/musicPlayer.js"></script>
<script type="text/javascript" src="/_js/raphael-min.js"></script>
<!-- documentationeer -->
<!--script type="text/javascript" src="/_js/documentationeer/lib/jquery.simpletip-1.3.1.js"></script-->
<script src="/_js/documentationeer/lib/jquery.tools.min.js"></script>
<script type="text/javascript" src="/_js/documentationeer/documentationeer.js"></script>
<script type="text/javascript">
$(function(){
<?php
//generate default user id
echo "var userId = 'VJ " . str_replace('.', '', $_SERVER['REMOTE_ADDR']) . "';";
?>
//just use my favorites!
var compositeTypes = ['lighter','darker', 'xor'];//, 'source-over', 'destination-over'];
//images to be rendered
var bgs = [
/* first screen! */
new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-AJ4.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-AJ4.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-AJ4.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinectRecord892012202-4AA90-cells-spinn.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinectRecord892012202-4AA90-cells-spinn.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinectRecord892012202-4AA90-cells-spinn.jpg', 1111),
new VidClip([new VidSource("/images/mixer/240p/fish_jelly_orange.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/fish_jelly_orange.ogg", "video/ogg")], "/images/mixer/thumbs/fish_jelly_orange.jpg"),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Tombo2.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Tombo2.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Tombo2.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinectRecord89201220356.oni-shitty_loop.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinectRecord89201220356.oni-shitty_loop.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinectRecord89201220356.oni-shitty_loop.jpg', 1111),
new VidClip([new VidSource('/images/mixer/gif_sorted/Icky/adam_harms.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Icky/adam_harms.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Icky/thumb/adam_harms.jpg'),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Snakefast3.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Snakefast3.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Snakefast3.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinect4AA9A-CA-sweep-loop.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinect4AA9A-CA-sweep-loop.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinect4AA9A-CA-sweep-loop.jpg', 1111),
new VidClip([new VidSource("/images/mixer/240p/tz_firedance3full-6fps.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/tz_firedance3full-6fps.ogg", "video/ogg")], "/images/mixer/thumbs/tz_firedance3full-6fps.jpg"),
/* second screen! */
new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Grant3.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Grant3.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Grant3.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinectRecord892012202-4AA92-backbendloop.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinectRecord892012202-4AA92-backbendloop.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinectRecord892012202-4AA92-backbendloop.jpg', 1111),
new VidClip([new VidSource("/images/mixer/240p/clouds_happy_sunset_SHORTLOOP.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/clouds_happy_sunset_SHORTLOOP.ogg", "video/ogg")], "/images/mixer/thumbs/clouds_happy_sunset_SHORTLOOP.jpg"),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Fadeout.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Fadeout.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Fadeout.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinect4AAA0-cells-long-loop.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinect4AAA0-cells-long-loop.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinect4AAA0-cells-long-loop.jpg', 1111),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pixel/cardioid_fractal.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pixel/cardioid_fractal.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pixel/thumb/cardioid_fractal.jpg'),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Ryan.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Ryan.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Ryan.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinect4AAA8-rays_kick.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinect4AAA8-rays_kick.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinect4AAA8-rays_kick.jpg', 1111),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/platonik_in_cube.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/platonik_in_cube.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/platonik_in_cube.jpg', 530),
/* the rest! */
new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Ben.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Ben.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Ben.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Pat.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Pat.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Pat.jpg', 1111),
//new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Snake.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Snake.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Snake.jpg', 1111),
//new VidClip([new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Tombo.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/Battlehooch-Joke-Tombo.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/Battlehooch-Joke-Tombo.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinect4AA96-static-sweetkick-suckyloop.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinect4AA96-static-sweetkick-suckyloop.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinect4AA96-static-sweetkick-suckyloop.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinect4AAA0-rgb-long-loop.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinect4AAA0-rgb-long-loop.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinect4AAA0-rgb-long-loop.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinectRecord89201220325.oni-static_spin.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinectRecord89201220325.oni-static_spin.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinectRecord89201220325.oni-static_spin.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinectRecord892012204-4AAAE.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinectRecord892012204-4AAAE.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinectRecord892012204-4AAAE.jpg', 1111),
new VidClip([new VidSource('/images/mixer/battlehooch/240p/kinectRecord892012204-4AAAE_cells.mov', "video/mp4"), new VidSource('/images/mixer/battlehooch/240p/kinectRecord892012204-4AAAE_cells.mov.ogv', 'video/ogg')], '/images/mixer/battlehooch/thumb/kinectRecord892012204-4AAAE_cells.jpg', 1111),
new VidClip([new VidSource("/images/mixer/240p/fish_jelly_purple.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/fish_jelly_purple.ogg", "video/ogg")], "/images/mixer/thumbs/fish_jelly_purple.jpg"),
new VidClip("/images/mixer/red_spiderweb.png","/images/mixer/thumbs/red_spiderweb.jpg"),
new VidClip("/images/mixer/dark_clouds.png","/images/mixer/thumbs/dark_clouds.jpg")
];
//holds all the possible clips to play
var vidClips = bgs.concat([
new VidClip([new VidSource("/images/mixer/240p/redbuggy_trim.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/redbuggy_trim.ogg", "video/ogg")],
"/images/mixer/thumbs/redbuggy.jpg"),
new VidClip([new VidSource("/images/mixer/240p/chess_dance.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/chess_dance.ogg", "video/ogg")], "/images/mixer/thumbs/chess_dance.jpg"),
new VidClip([new VidSource("/images/mixer/240p/fence_moma_LOOP.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/fence_moma_LOOP.ogg", "video/ogg")], "/images/mixer/thumbs/fence_moma_LOOP.jpg"),
new VidClip([new VidSource("/images/mixer/240p/fish_big_spinner_LOOP.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/fish_big_spinner_LOOP.ogg", "video/ogg")], "/images/mixer/thumbs/fish_big_spinner_LOOP.jpg", 500),
new VidClip([new VidSource("/images/mixer/240p/fish_blue_LONG.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/fish_blue_LONG.ogg", "video/ogg")], "/images/mixer/thumbs/fish_blue_LONG.jpg", 370),
new VidClip([new VidSource("/images/mixer/240p/winter_icicle_drip_LOOP.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/winter_icicle_drip_LOOP.ogg", "video/ogg")], "/images/mixer/thumbs/winter_icicle_drip_LOOP.jpg", 370),
new VidClip([new VidSource("/images/mixer/240p/fish_tiny_LONG.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/fish_tiny_LONG.ogg", "video/ogg")], "/images/mixer/thumbs/fish_tiny_LONG.jpg", 370),
new VidClip([new VidSource("/images/mixer/240p/fish_tropical_VERT_LOOP.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/fish_tropical_VERT_LOOP.ogg", "video/ogg")], "/images/mixer/thumbs/fish_tropical_VERT_LOOP.jpg", 370),
new VidClip([new VidSource("/images/mixer/240p/fish_water_reflections.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/fish_water_reflections.ogg", "video/ogg")], "/images/mixer/thumbs/fish_water_reflections.jpg", 370),
/* new VidClip([new VidSource("/images/mixer/240p/union_square640x480.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/union_square640x480.ogg", "video/ogg")], "/images/mixer/thumbs/union_square640x480.jpg"),
*/
new VidClip([new VidSource("/images/mixer/240p/driving_night_streaks.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/driving_night_streaks.ogg", "video/ogg")], "/images/mixer/thumbs/driving_night_streaks.jpg", 500),
new VidClip([new VidSource("/images/mixer/240p/union_square_tilt_shift.mp4", "video/mp4"),
new VidSource("/images/mixer/240p/union_square_tilt_shift.ogg", "video/ogg")], "/images/mixer/thumbs/union_square_tilt_shift.jpg", 500),
new VidClip("/images/mixer/bermuda_eyehole.png", "/images/mixer/thumbs/bermuda_eyehole.jpg", 500),
//gif jockey
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/atom_b.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/atom_b.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/atom_b.jpg',600),
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/ballonface.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/ballonface.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/ballonface.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/Dominoes.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/Dominoes.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/Dominoes.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/glacier.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/glacier.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/glacier.jpg',700),
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/golf_ball.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/golf_ball.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/golf_ball.jpg',800),
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/light_blub_vs_mousetrap.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/light_blub_vs_mousetrap.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/light_blub_vs_mousetrap.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/subway_14th_st_loop.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/subway_14th_st_loop.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/subway_14th_st_loop.jpg',500),
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/subway_endless.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/subway_endless.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/subway_endless.jpg',300),
new VidClip([new VidSource('/images/mixer/gif_sorted/_loopy/swimming.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_loopy/swimming.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_loopy/thumb/swimming.jpg',300),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/bb-v-bubble.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/bb-v-bubble.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/bb-v-bubble.jpg',500),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/break_glass.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/break_glass.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/break_glass.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/dancing.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/dancing.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/dancing.jpg',700),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/eat_yourself.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/eat_yourself.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/eat_yourself.jpg', 300),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/jupiter-Voyager_58M_to_31M_reduced.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/jupiter-Voyager_58M_to_31M_reduced.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/jupiter-Voyager_58M_to_31M_reduced.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/lightning.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/lightning.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/lightning.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/us_takeover.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/us_takeover.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/us_takeover.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/walkin1.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/walkin1.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/walkin1.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_bright/x-ray_drinking.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_bright/x-ray_drinking.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_bright/thumb/x-ray_drinking.jpg',600),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/artichoke.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/artichoke.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/artichoke.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/eat.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/eat.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/eat.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/eyeball.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/eyeball.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/eyeball.jpg',400),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/fire_swords.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/fire_swords.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/fire_swords.jpg',700),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/headscan.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/headscan.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/headscan.jpg',800),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/pineapple-mri.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/pineapple-mri.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/pineapple-mri.jpg',800),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/Popcorn_decepticon.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/Popcorn_decepticon.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/Popcorn_decepticon.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/stream_of_dots.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/stream_of_dots.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/stream_of_dots.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/_dark/xray_body-mri.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_dark/xray_body-mri.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_dark/thumb/xray_body-mri.jpg',700),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pixel/can-i-helllp-yazxmcn.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pixel/can-i-helllp-yazxmcn.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pixel/thumb/can-i-helllp-yazxmcn.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pixel/cubes.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pixel/cubes.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pixel/thumb/cubes.jpg',600),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pixel/glitchy.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pixel/glitchy.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pixel/thumb/glitchy.jpg',300),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pixel/hmuon.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pixel/hmuon.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pixel/thumb/hmuon.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pixel/stars_sideways.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pixel/stars_sideways.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pixel/thumb/stars_sideways.jpg',700),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pixel/Swglj.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pixel/Swglj.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pixel/thumb/Swglj.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/aurora.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/aurora.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/aurora.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/eyemazing.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/eyemazing.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/eyemazing.jpg', 100),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/eyemazing_color.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/eyemazing_color.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/eyemazing_color.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/piccaso.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/piccaso.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/piccaso.jpg', 100),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/reddit_on_acid.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/reddit_on_acid.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/reddit_on_acid.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/torus_of_arms.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/torus_of_arms.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/torus_of_arms.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/tripler.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/tripler.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/tripler.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/tumblrlbfo7jbvr91qzpwi0.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/tumblrlbfo7jbvr91qzpwi0.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/tumblrlbfo7jbvr91qzpwi0.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/van-gogh-3d.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/van-gogh-3d.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/van-gogh-3d.jpg', 100),
new VidClip([new VidSource('/images/mixer/gif_sorted/_trippy/van_gogh-swirly_night.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_trippy/van_gogh-swirly_night.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_trippy/thumb/van_gogh-swirly_night.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/_funny/bill_cosby-jello.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_funny/bill_cosby-jello.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_funny/thumb/bill_cosby-jello.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_funny/elmo_toilet_dance.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_funny/elmo_toilet_dance.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_funny/thumb/elmo_toilet_dance.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/_funny/laser_situation.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_funny/laser_situation.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_funny/thumb/laser_situation.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/_funny/merlin_smoking_pipe.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_funny/merlin_smoking_pipe.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_funny/thumb/merlin_smoking_pipe.jpg', 100),
new VidClip([new VidSource('/images/mixer/gif_sorted/_funny/neti.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_funny/neti.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_funny/thumb/neti.jpg', 100),
new VidClip([new VidSource('/images/mixer/gif_sorted/_funny/rainbow.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_funny/rainbow.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_funny/thumb/rainbow.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/_funny/transformer_man_to_car.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_funny/transformer_man_to_car.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_funny/thumb/transformer_man_to_car.jpg', 100),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/circuits-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/circuits-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/circuits-dvdp.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/colorplosion-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/colorplosion-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/colorplosion-dvdp.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/colors_oscillating-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/colors_oscillating-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/colors_oscillating-dvdp.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/cubes_pulsing_sphere.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/cubes_pulsing_sphere.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/cubes_pulsing_sphere.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/cubes_rotate-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/cubes_rotate-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/cubes_rotate-dvdp.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/egg_colors-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/egg_colors-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/egg_colors-dvdp.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/flying_through_bubbles.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/flying_through_bubbles.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/flying_through_bubbles.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/hexagons.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/hexagons.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/hexagons.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/hyperblog.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/hyperblog.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/hyperblog.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/seizure_sun.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/seizure_sun.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/seizure_sun.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/shifting_lines-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/shifting_lines-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/shifting_lines-dvdp.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/shifting_lines2-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/shifting_lines2-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/shifting_lines2-dvdp.jpg', 300),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/shifting_smoke-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/shifting_smoke-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/shifting_smoke-dvdp.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/torus_infinite-dvdp.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/torus_infinite-dvdp.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/torus_infinite-dvdp.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/tree_trunk.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/tree_trunk.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/tree_trunk.jpg', 700),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/triangle_sea.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/triangle_sea.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/triangle_sea.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/dvdp/wavy_hat.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/dvdp/wavy_hat.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/dvdp/thumb/wavy_hat.jpg', 300),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/bear_dancing.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/bear_dancing.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/bear_dancing.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/bend_it.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/bend_it.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/bend_it.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/BUZZED_UP.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/BUZZED_UP.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/BUZZED_UP.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/cat_tripping.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/cat_tripping.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/cat_tripping.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/infinite_walk.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/infinite_walk.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/infinite_walk.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/miss_miss.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/miss_miss.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/miss_miss.jpg', 700),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/OLD_NESS.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/OLD_NESS.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/OLD_NESS.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/piano_kd.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/piano_kd.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/piano_kd.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/PSYCHEDELIC_HORSE.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/PSYCHEDELIC_HORSE.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/PSYCHEDELIC_HORSE.jpg', 600),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/rainbow_legs.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/rainbow_legs.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/rainbow_legs.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/SKELEPTIN.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/SKELEPTIN.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/SKELEPTIN.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/star_child.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/star_child.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/star_child.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/swingin_hamster.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/swingin_hamster.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/swingin_hamster.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/torf.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/torf.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/torf.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/turtle_turntable.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/turtle_turntable.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/turtle_turntable.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/ultimate_warrior.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/ultimate_warrior.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/ultimate_warrior.jpg', 300),
new VidClip([new VidSource('/images/mixer/gif_sorted/pixelfucks/unnesssarrry.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/pixelfucks/unnesssarrry.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/pixelfucks/thumb/unnesssarrry.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/01___MYSTIC_arrugarseFLs.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/01___MYSTIC_arrugarseFLs.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/01___MYSTIC_arrugarseFLs.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/02___FLY___again.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/02___FLY___again.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/02___FLY___again.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/03___METAPHYSICAL___variacion.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/03___METAPHYSICAL___variacion.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/03___METAPHYSICAL___variacion.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/05___DANCE_luz.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/05___DANCE_luz.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/05___DANCE_luz.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/09___xelims___.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/09___xelims___.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/09___xelims___.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/ESCULTURA__movimentFLA__02.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/ESCULTURA__movimentFLA__02.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/ESCULTURA__movimentFLA__02.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/fractura.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/fractura.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/fractura.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/fracturas.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/fracturas.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/fracturas.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/JUMPJUMPJUMP_Symetry.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/JUMPJUMPJUMP_Symetry.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/JUMPJUMPJUMP_Symetry.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/walking_wireframe-Untitled_Outside_003b.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/walking_wireframe-Untitled_Outside_003b.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/walking_wireframe-Untitled_Outside_003b.jpg', 450),
/*new VidClip([new VidSource('/images/mixer/gif_sorted/Francoise_Gamma/walking_wireframe.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Francoise_Gamma/walking_wireframe.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Francoise_Gamma/thumb/walking_wireframe.jpg', 450),
*/
new VidClip([new VidSource('/images/mixer/gif_sorted/Icky/doggy_dog_world-lcky.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/Icky/doggy_dog_world-lcky.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/Icky/thumb/doggy_dog_world-lcky.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/34LNS-TUNNEL.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/34LNS-TUNNEL.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/34LNS-TUNNEL.jpg', 330),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/bllz.KLSTR.bw.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/bllz.KLSTR.bw.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/bllz.KLSTR.bw.jpg', 330),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/bllzKLSTR.Anim.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/bllzKLSTR.Anim.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/bllzKLSTR.Anim.jpg', 630),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/BlokSTAK.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/BlokSTAK.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/BlokSTAK.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/brk_thru.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/brk_thru.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/brk_thru.jpg', 400),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/FluidHORIZON.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/FluidHORIZON.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/FluidHORIZON.jpg', 330),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/grid_konstrukt.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/grid_konstrukt.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/grid_konstrukt.jpg', 500),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/hyper_xtrusion.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/hyper_xtrusion.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/hyper_xtrusion.jpg', 330),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/iGlooXPLD.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/iGlooXPLD.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/iGlooXPLD.jpg', 730),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/mushrooms.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/mushrooms.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/mushrooms.jpg', 330),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/PLN.Rise.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/PLN.Rise.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/PLN.Rise.jpg', 200),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/RECYCLE.BOX.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/RECYCLE.BOX.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/RECYCLE.BOX.jpg', 130),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/RingsXperiment.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/RingsXperiment.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/RingsXperiment.jpg', 530),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/ringz.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/ringz.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/ringz.jpg', 430),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/Toruz_KONSTRKT.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/Toruz_KONSTRKT.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/Toruz_KONSTRKT.jpg', 730),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/trippyometry.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/trippyometry.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/trippyometry.jpg', 630),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/Tube.DSTRKT .gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/Tube.DSTRKT .gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/Tube.DSTRKT .jpg', 330),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/Untitled-015.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/Untitled-015.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/Untitled-015.jpg', 530),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/Untitled-018.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/Untitled-018.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/Untitled-018.jpg', 730),
new VidClip([new VidSource('/images/mixer/gif_sorted/surrogate_self/Untitled-020.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/surrogate_self/Untitled-020.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/surrogate_self/thumb/Untitled-020.jpg', 630),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/anatomy.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/anatomy.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/anatomy.jpg', 260),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/break_dancing.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/break_dancing.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/break_dancing.jpg', 260),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/deer_life.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/deer_life.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/deer_life.jpg', 260),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/dogfighter.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/dogfighter.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/dogfighter.jpg', 560),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/Exploding-head.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/Exploding-head.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/Exploding-head.jpg', 660),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/exploding_runner.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/exploding_runner.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/exploding_runner.jpg', 260),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/eyes.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/eyes.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/eyes.jpg', 1000),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/full_body_workout.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/full_body_workout.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/full_body_workout.jpg', 460),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/hoop_girl.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/hoop_girl.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/hoop_girl.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/infinite_zoom.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/infinite_zoom.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/infinite_zoom.jpg', 460),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/keyboard_zap.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/keyboard_zap.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/keyboard_zap.jpg', 560),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/licklol.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/licklol.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/licklol.jpg', 860),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/papers_flying.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/papers_flying.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/papers_flying.jpg', 160),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/reindeer-activate.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/reindeer-activate.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/reindeer-activate.jpg', 360),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/seahorse_birthing.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/seahorse_birthing.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/seahorse_birthing.jpg', 260),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/soccer_deadly.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/soccer_deadly.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/soccer_deadly.jpg', 100),
new VidClip([new VidSource('/images/mixer/gif_sorted/_wtf/spin_hat_loop.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_wtf/spin_hat_loop.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_wtf/thumb/spin_hat_loop.jpg', 260),
new VidClip([new VidSource('/images/mixer/gif_sorted/_animals/buffalo.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_animals/buffalo.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_animals/thumb/buffalo.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_animals/cat-slide.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_animals/cat-slide.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_animals/thumb/cat-slide.jpg', 250),
new VidClip([new VidSource('/images/mixer/gif_sorted/_animals/cat_bongos.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_animals/cat_bongos.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_animals/thumb/cat_bongos.jpg', 250),
new VidClip([new VidSource('/images/mixer/gif_sorted/_animals/cat_spin.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_animals/cat_spin.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_animals/thumb/cat_spin.jpg', 250),
new VidClip([new VidSource('/images/mixer/gif_sorted/_animals/cat_twitchy.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_animals/cat_twitchy.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_animals/thumb/cat_twitchy.jpg', 250),
new VidClip([new VidSource('/images/mixer/gif_sorted/_animals/fisheat.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_animals/fisheat.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_animals/thumb/fisheat.jpg', 450),
new VidClip([new VidSource('/images/mixer/gif_sorted/_animals/man_rides_WTF.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_animals/man_rides_WTF.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_animals/thumb/man_rides_WTF.jpg', 850),
/*
new VidClip([new VidSource('/images/mixer/gif_sorted/_pop/chewin_gum.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pop/chewin_gum.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pop/thumb/chewin_gum.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pop/clarissa_explains_it_all.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pop/clarissa_explains_it_all.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pop/thumb/clarissa_explains_it_all.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pop/mind_blown.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pop/mind_blown.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pop/thumb/mind_blown.jpg'),
new VidClip([new VidSource('/images/mixer/gif_sorted/_pop/zoidberg.gif', "image/gif"),
new VidSource('/images/mixer/_gifs_to_mov/gif_sorted/_pop/zoidberg.gif.mov.ogv', 'video/ogg')], '/images/mixer/gif_sorted/_pop/thumb/zoidberg.jpg'),
*/
]); //copy array and add more!
var // denotes if they are watching something prerecorded or recording their own from scratch
isRemix = false,
// starts the remixer
init = function init(isHd) {
//this module allows collaborative VJing with other users.
//var crowd = new CrowdControl();
var crowd = false;
//HD/SD setting
if (isHd) {
PRELOAD_DELAY = 120; // this guarantees we'll load a ton of videos before starting, which hopefully will help.
for (var i = 0; i < vidClips.length; i++) {
if (vidClips[i].isVideo()) {
var srcs = vidClips[i].src;
for (var j = 0; j < srcs.length; j++) {
srcs[j].url = srcs[j].url.replace('/240p/', '/480p/');
}
}
}
}
var lsd = $().takeLSD(vidClips, compositeTypes, null, userId, crowd, true, isHd ? {width: 640, height: 480} : null),
// PLEASE CONSIDER SUPPORTING THE ARTIST by buying their song on their website! Thanks!
musicUrl = Modernizr.audio.ogg ? '/music/Battlehooch%20-%20Joke.ogg' : '/music/Battlehooch%20-%20Joke.mp3',
musicType = Modernizr.audio.ogg ? 'audio/ogg' : 'audio/mpeg';
var player = $().musicPlayer(musicUrl, musicType, lsd, new Attribution("Battlehooch", "Joke", 'http://battlehooch.com'), !isRemix);
if (isRemix) {
// BEGINNER MODE - hide effects and inputs. only let them mess with effects when watching something prerecorded
$('body').addClass('beginnerMode');
}
/***********************
INLINE TUTORIAL
with Documentationeer
************************/
var // this will hide second tutorial popup since the drawer is already expanded in non-mobile contexts
IS_CLIP_DRAWER_MINIMIZED = window.innerHeight <= 460, // check window size!
doc = $().documentate([
// each Step object can launch a cascading help tutorial of many steps.
// this one will be our root object to launch the tutorial
{
// an id to reference via the event system
name: 'tutorial',
// this takes a jQuery selector of the element that will trigger this tutorial,
// only the first time it is clicked.
once: '.helpButton' + (!isRemix ? ', .record.button' : ''), // don't show teaser if they're remixing, since drawers are already open.
// jQuery selector of all the help tooltips or dialogs to show when triggered
elements: '.step_1' + (IS_CLIP_DRAWER_MINIMIZED ? ', #layerControl_0 .clipThumb' : ''),
delay: 2000,
cssClass: 'hideable arrow right',
// this is passed directly to the tooltip.dynamic plugin
placement: { left: { direction: 'right', bounce: true } },
// options for the underlying tooltip object
tooltip: {
position: 'top left',
offset: [5, -32]
},
// once the user has dismissed or completed all the tutorial elements above,
// the `done` event is triggered. Can either be the `name` of another Step object,
// or a Step object itself.
done: {
name: 'step_2point5',
elements: '#vidClip_3',
// closers are elements that finish and hide the step when clicked.
closers: (IS_CLIP_DRAWER_MINIMIZED ? '.step_1' : '#backgroundCanvasControls .clipThumbs .clipThumb'),
delay: 1000,
cssClass: 'hideable arrow right',
// this is passed directly to the tooltip.dynamic plugin
placement: { left: { direction: 'right', bounce: true } },
// options for the underlying tooltip object
tooltip: {
position: 'top left',
offset: [5, -32]
},
done: {
name: 'step_2',
elements: '.step_2',
closers: '.step_2:parent', // since step 2 is actully a hacked span inside step_0
// note the `once` event handler is optional here since it's triggered by
// the parent step
delay: 20000,
cssClass: 'hideable arrow down',
// this is passed directly to the tooltip.dynamic plugin
placement: { top: { direction: 'down', bounce: true } },
// options for the underlying tooltip object
tooltip: {
position: 'top center',
offset: [-32, 20]
},
done: {
name: 'step_3',
elements: '.step_3',
delay: 1000,
cssClass: 'hideable arrow down',
// this is passed directly to the tooltip.dynamic plugin
placement: { top: { direction: 'down', bounce: true } },
// options for the underlying tooltip object
tooltip: {
position: 'top center',
offset: [-32, 0]
},
done: {
name: 'step_4',
elements: '.step_4',
delay: 1000,
cssClass: 'hideable arrow down',
// this is passed directly to the tooltip.dynamic plugin
placement: { top: { direction: 'down', bounce: true } },
// options for the underlying tooltip object
tooltip: {
position: 'top center',
offset: [-32, 0]
}
}
}
}
}
},
{
// an id to reference via the event system
name: 'teaser',
cssClass: 'hideable arrow down',
// jQuery selector of all the help tooltips or dialogs to show when triggered
elements: !isRemix ? '.step_0' : null, // don't show teaser if they're remixing, since drawers are already open.
placement: { top: { direction: 'down', bounce: true } },
tooltip: {
position: 'top center',
offset: [-32, 13]
},
},
{
name: 'step_effects',
elements: '.step_effects',
// note the `once` event handler is optional here since it's triggered by
// the parent step
delay: 1000,
cssClass: 'hideable arrow down',
// this is passed directly to the tooltip.dynamic plugin
placement: { top: { direction: 'down', bounce: true } },
// options for the underlying tooltip object
tooltip: {
position: 'center center',
offset: [-32, 0]
}
}
]);
}
/*********** ANNNNNNND GO! ***********/
// capabilities check
// TODO: firefox disabled for now, since looping of OGVs in place of GIfs has a bit of a delay. too bad since Firefox is the only one that gets opacities correct!
if ( Modernizr.canvas &&
(Modernizr.audio.mp3 || Modernizr.audio.ogg) &&
(Modernizr.video.h264 || Modernizr.video.ogg /*|| Modernizr.video.webm*/) ) {
var isHd = false;
// check if they came here to watch a specific remix, or just the official one
if (window.PlaylistRepo.getPlaylistId() && window.PlaylistRepo.getPlaylistId() != MUSIC_DEFAULT_PLAYLIST_ID) {
$('#loadButtons .remix').removeClass('highlighted');
$('#loadButtons .watch')
.addClass('highlighted')
.find('p')
.html('Watch the remix'); // TODO: replace with remix author's name
}
// step 1
$('.start, .flowButtons .right').click(function () {
isRemix = $(this).hasClass('remix');
// move on to step 2:
init(isHd);
return false;
});
// not a step, just a tiny hidden option
$('#qualitySelectors').on('click', 'a', function () {
var $this = $(this);
isHd = $this.hasClass('hd'); // HD is ridiculously slow to load!!!
$this
.siblings('a')
.removeClass('selected')
.end()
.addClass('selected');
return false;
});
$('.footerNav .aboutLink').click(function() {
$('#about')
.toggleClass('open')
.toggleClass('closed');