-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
807 lines (724 loc) · 26.1 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<style>
.mime{
background:lightgray;
}
</style>
<title>Supports Test</title>
</head>
<body>
<h1>Browser Support Checker</h1>
<h2>Media</h2>
<h3>Basics</h3>
<table border="1">
<tr>
<th>Class</th>
<th>Description</th>
<th>Supported</th>
</tr>
<tr>
<td><code class="mime">HTMLMediaElement</code></td>
<td>-</td>
<td id="media-basics-htmlmediaelement"></td>
</tr>
<tr>
<td><code class="mime">MediaSource</code></td>
<td>-</td>
<td id="media-basics-mediasource"></td>
</tr>
</table>
<h3>Containers</h3>
<table border="1">
<tr>
<th>Codec</th>
<th>Description</th>
<th>Developer</th>
<th>Supported</th>
</tr>
<tr>
<td>3GP (<code class="mime">audio/3gpp</code>)</td>
<td>3G Partnership Project container for audio</td>
<td>-</td>
<td id="media-containers-3gp-audio"></td>
</tr>
<tr>
<td>3GP (<code class="mime">video/3gpp</code>)</td>
<td>3G Partnership Project container for audio and video</td>
<td>-</td>
<td id="media-containers-3gp-video"></td>
</tr>
<tr>
<td>3G2 (<code class="mime">audio/3gpp2</code>)</td>
<td>3G Partnership Project 2 container for audio</td>
<td>-</td>
<td id="media-containers-3g2-audio"></td>
</tr>
<tr>
<td>3G2 (<code class="mime">video/3gpp2</code>)</td>
<td>3G Partnership Project 2 container for audio and video</td>
<td>-</td>
<td id="media-containers-3g2-video"></td>
</tr>
<tr>
<td>F4V (<code class="mime">video/x-f4v</code>)</td>
<td>Flash MPEG-4 Video</td>
<td>MacroMedia</td>
<td id="media-containers-f4v"></td>
</tr>
<tr>
<td>FLV (<code class="mime">video/x-flv</code>)</td>
<td>Flash Video</td>
<td>MacroMedia</td>
<td id="media-containers-flv"></td>
</tr>
<tr>
<td>Matroska (<code class="mime">audio/x-matroska</code>)</td>
<td>Matroska container for audio</td>
<td>Google</td>
<td id="media-containers-matroska-audio"></td>
</tr>
<tr>
<td>Matroska (<code class="mime">video/x-matroska</code>)</td>
<td>Matroska container for audio and video</td>
<td>Google</td>
<td id="media-containers-matroska-video"></td>
</tr>
<tr>
<td>MP1S (<code class="mime">video/mp1s</code>)</td>
<td>MPEG-1 Systems container</td>
<td>MPEG</td>
<td id="media-containers-mp1s-video"></td>
</tr>
<tr>
<td>MP2P (<code class="mime">video/mp2p</code>)</td>
<td>MPEG-2 Program Stream (MPEG-PS) container</td>
<td>MPEG</td>
<td id="media-containers-mp2p-video"></td>
</tr>
<tr>
<td>MP2T (<code class="mime">video/mp2t</code>)</td>
<td>MPEG-2 Transport Stream (MPEG-TS) container</td>
<td>MPEG</td>
<td id="media-containers-mp2t-video"></td>
</tr>
<tr>
<td>MP4 (<code class="mime">audio/mp4</code>)</td>
<td>MPEG-4 container for audio</td>
<td>MPEG</td>
<td id="media-containers-mp4-audio"></td>
</tr>
<tr>
<td>MP4 (<code class="mime">video/mp4</code>)</td>
<td>MPEG-4 container for audio and video</td>
<td>MPEG</td>
<td id="media-containers-mp4-video"></td>
</tr>
<tr>
<td>MP4 (<code class="mime">application/mp4</code>)</td>
<td>MPEG-4 container</td>
<td>MPEG</td>
<td id="media-containers-mp4-application"></td>
</tr>
<tr>
<td>MP21 (<code class="mime">application/mp21</code>)</td>
<td>MPEG-21 container</td>
<td>MPEG</td>
<td id="media-containers-mp21-application"></td>
</tr>
<tr>
<td>Ogg (<code class="mime">audio/ogg</code>)</td>
<td>Ogg container for audio</td>
<td>Xiph</td>
<td id="media-containers-ogg-audio"></td>
</tr>
<tr>
<td>Ogg (<code class="mime">video/ogg</code>)</td>
<td>Ogg container for audio and video</td>
<td>Xiph</td>
<td id="media-containers-ogg-video"></td>
</tr>
<tr>
<td>Ogg (<code class="mime">application/ogg</code>)</td>
<td>Ogg container for multiplexing</td>
<td>Xiph</td>
<td id="media-containers-ogg-application"></td>
</tr>
<tr>
<td>QuickTime (<code class="mime">video/quicktime</code>)</td>
<td>QuickTime</td>
<td>Apple</td>
<td id="media-containers-quicktime"></td>
</tr>
<tr>
<td>WebM (<code class="mime">audio/webm</code>)</td>
<td>WebM container for audio</td>
<td>Google</td>
<td id="media-containers-webm-audio"></td>
</tr>
<tr>
<td>WebM (<code class="mime">video/webm</code>)</td>
<td>WebM container for audio and video</td>
<td>Google</td>
<td id="media-containers-webm-video"></td>
</tr>
</table>
<h3>Audio</h3>
<table border="1">
<tr>
<th>Codec</th>
<th>Description</th>
<th>Developer</th>
<th>Supported</th>
</tr>
<tr>
<td>AAC (<code class="mime">audio/aac</code>)</td>
<td>Advanced Audio Codec</td>
<td>MPEG</td>
<td id="media-audio-aac-raw"></td>
</tr>
<tr>
<td>AAC+ (<code class="mime">audio/aacp</code>)</td>
<td>Advanced Audio Codec Plus (HE-AAC)</td>
<td>MPEG</td>
<td id="media-audio-aacp-raw"></td>
</tr>
<tr>
<td>FLAC (<code class="mime">audio/flac</code>)</td>
<td>FLAC Raw (native container)</td>
<td>Xiph</td>
<td id="media-audio-flac-raw"></td>
</tr>
<tr>
<td>FLAC (<code class="mime">audio/ogg; codecs="flac"</code>)</td>
<td>FLAC inside an Ogg container</td>
<td>Xiph</td>
<td id="media-audio-flac-ogg"></td>
</tr>
<tr>
<td>FLAC (<code class="mime">audio/webm; codecs="flac"</code>)</td>
<td>FLAC inside an WebM container</td>
<td>Xiph</td>
<td id="media-audio-flac-webm"></td>
</tr>
<tr>
<td>MPEG-1 Audio (<code class="mime">audio/mpeg</code>)</td>
<td>MPEG-1 Audio Raw</td>
<td>Xiph</td>
<td id="media-audio-mpeg1-raw"></td>
</tr>
<tr>
<td>MPEG-2 Audio (<code class="mime">audio/mpeg</code>)</td>
<td>MPEG-2 Audio Raw</td>
<td>Xiph</td>
<td id="media-audio-mpeg2-raw"></td>
</tr>
<tr>
<td>Opus (<code class="mime">audio/opus</code>)</td>
<td>Opus Raw</td>
<td>Xiph</td>
<td id="media-audio-opus-raw"></td>
</tr>
<tr>
<td>Opus (<code class="mime">audio/ogg; codecs="opus"</code>)</td>
<td>Opus inside an Ogg container</td>
<td>Xiph</td>
<td id="media-audio-opus-ogg"></td>
</tr>
<tr>
<td>Opus (<code class="mime">audio/webm; codecs="opus"</code>)</td>
<td>Opus inside an WebM container</td>
<td>Xiph</td>
<td id="media-audio-opus-webm"></td>
</tr>
<tr>
<td>Speex (<code class="mime">audio/speex</code> or <code class="mime">audio/x-speex</code>)</td>
<td>Speex Raw</td>
<td>Xiph</td>
<td id="media-audio-speex-raw"></td>
</tr>
<tr>
<td>Speex (<code class="mime">audio/ogg; codecs="speex"</code>)</td>
<td>Speex inside an Ogg container</td>
<td>Xiph</td>
<td id="media-audio-speex-ogg"></td>
</tr>
<tr>
<td>Speex (<code class="mime">audio/webm; codecs="speex"</code>)</td>
<td>Speex inside an WebM container</td>
<td>Xiph</td>
<td id="media-audio-speex-webm"></td>
</tr>
<tr>
<td>Vorbis (<code class="mime">audio/vorbis</code>)</td>
<td>Vorbis Raw</td>
<td>Xiph</td>
<td id="media-audio-vorbis-raw"></td>
</tr>
<tr>
<td>Vorbis (<code class="mime">audio/ogg; codecs="vorbis"</code>)</td>
<td>Vorbis inside an Ogg container</td>
<td>Xiph</td>
<td id="media-audio-vorbis-ogg"></td>
</tr>
<tr>
<td>Vorbis (<code class="mime">audio/webm; codecs="vorbis"</code>)</td>
<td>Vorbis inside an WebM container</td>
<td>Xiph</td>
<td id="media-audio-vorbis-webm"></td>
</tr>
</table>
<h3>Video</h3>
<table border="1">
<tr>
<th>Codec</th>
<th>Description</th>
<th>Developer</th>
<th>Supported</th>
</tr>
<tr>
<td>Daala (<code class="mime">video/daala</code>)</td>
<td>Daala Raw</td>
<td>Xiph</td>
<td id="media-video-daala-raw"></td>
</tr>
<tr>
<td>Daala (<code class="mime">video/ogg; codecs="daala"</code>)</td>
<td>Daala inside an Ogg container</td>
<td>Xiph</td>
<td id="media-video-daala-ogg"></td>
</tr>
<tr>
<td>Daala (<code class="mime">video/webm; codecs="daala"</code>)</td>
<td>Daala inside an WebM container</td>
<td>Xiph</td>
<td id="media-video-daala-webm"></td>
</tr>
<tr>
<td>Dirac (<code class="mime">video/dirac</code> and <code class="mime">video/x-dirac</code>)</td>
<td>Dirac Raw</td>
<td>Xiph</td>
<td id="media-video-dirac-raw"></td>
</tr>
<tr>
<td>Dirac (<code class="mime">video/ogg; codecs="dirac"</code>)</td>
<td>Dirac inside an Ogg container</td>
<td>Xiph</td>
<td id="media-video-dirac-ogg"></td>
</tr>
<tr>
<td>Dirac (<code class="mime">video/webm; codecs="dirac"</code>)</td>
<td>Dirac inside an WebM container</td>
<td>Xiph</td>
<td id="media-video-dirac-webm"></td>
</tr>
<tr>
<td>MPEG-1 Video (<code class="mime">video/mpeg</code>)</td>
<td>MPEG-1 Video Raw</td>
<td>MPEG</td>
<td id="media-video-mpeg1-raw"></td>
</tr>
<tr>
<td>MPEG-2 Video (<code class="mime">video/mpeg</code>)</td>
<td>MPEG-2 Video Raw</td>
<td>MPEG</td>
<td id="media-video-mpeg2-raw"></td>
</tr>
<tr>
<td>Theora (<code class="mime">video/theora</code>)</td>
<td>Theora Raw</td>
<td>Xiph</td>
<td id="media-video-theora-raw"></td>
</tr>
<tr>
<td>Theora (<code class="mime">video/ogg; codecs="theora"</code>)</td>
<td>Theora inside an Ogg container</td>
<td>Xiph</td>
<td id="media-video-theora-ogg"></td>
</tr>
<tr>
<td>Theora (<code class="mime">video/webm; codecs="theora"</code>)</td>
<td>Theora inside an WebM container</td>
<td>Xiph</td>
<td id="media-video-theora-webm"></td>
</tr>
<tr>
<td>TrueMotion (<code class="mime">video/x-truemotion</code>)</td>
<td>TrueMotion Raw</td>
<td>On2</td>
<td id="media-video-truemotion-raw"></td>
</tr>
<tr>
<td>UltiMotion (<code class="mime">video/x-ultimotion</code>)</td>
<td>UltiMotion Raw</td>
<td>IBM</td>
<td id="media-video-ultimotion-raw"></td>
</tr>
<tr>
<td>VP3 (<code class="mime">video/x-vp3</code>)</td>
<td>VP3 Raw</td>
<td>On2</td>
<td id="media-video-vp3-raw"></td>
</tr>
<tr>
<td>VP4 (<code class="mime">video/x-vp4</code>)</td>
<td>VP4 Raw</td>
<td>On2</td>
<td id="media-video-vp4-raw"></td>
</tr>
<tr>
<td>VP5 (<code class="mime">video/x-vp5</code>)</td>
<td>VP5 Raw</td>
<td>On2</td>
<td id="media-video-vp5-raw"></td>
</tr>
<tr>
<td>VP6 (<code class="mime">video/x-vp6</code>)</td>
<td>VP6 Raw</td>
<td>On2</td>
<td id="media-video-vp6-raw"></td>
</tr>
<tr>
<td>VP7 (<code class="mime">video/x-vp7</code>)</td>
<td>VP7 Raw</td>
<td>On2</td>
<td id="media-video-vp7-raw"></td>
</tr>
<tr>
<td>VP8 (<code class="mime">video/vp8</code>)</td>
<td>VP8 Raw</td>
<td>Google</td>
<td id="media-video-vp8-raw"></td>
</tr>
<tr>
<td>VP8 (<code class="mime">video/ogg; codecs="vp8"</code>)</td>
<td>VP8 inside an Ogg container</td>
<td>Google</td>
<td id="media-video-vp8-ogg"></td>
</tr>
<tr>
<td>VP8 (<code class="mime">video/webm; codecs="vp8"</code>)</td>
<td>VP8 inside an WebM container</td>
<td>Google</td>
<td id="media-video-vp8-webm"></td>
</tr>
<tr>
<td>VP9 (<code class="mime">video/vp9</code>)</td>
<td>VP9 Raw</td>
<td>Google</td>
<td id="media-video-vp9-raw"></td>
</tr>
<tr>
<td>VP9 (<code class="mime">video/ogg; codecs="vp9"</code>)</td>
<td>VP9 inside an Ogg container</td>
<td>Google</td>
<td id="media-video-vp9-ogg"></td>
</tr>
<tr>
<td>VP9 (<code class="mime">video/webm; codecs="vp9"</code>)</td>
<td>VP9 inside an WebM container</td>
<td>Google</td>
<td id="media-video-vp9-webm"></td>
</tr>
<tr>
<td>VP10 (<code class="mime">video/x-vp10</code>)</td>
<td>VP10 Raw (See AV1)</td>
<td>Google</td>
<td id="media-video-vp10-raw"></td>
</tr>
<tr>
<td>VP10 (<code class="mime">video/ogg; codecs="vp10"</code>)</td>
<td>VP10 inside an Ogg container</td>
<td>Google</td>
<td id="media-video-vp10-ogg"></td>
</tr>
<tr>
<td>VP10 (<code class="mime">video/webm; codecs="vp10"</code>)</td>
<td>VP10 inside an WebM container</td>
<td>Google</td>
<td id="media-video-vp10-webm"></td>
</tr>
<tr>
<td>AV1 (<code class="mime">video/av1</code>)</td>
<td>AOMedia Video 1 Raw</td>
<td>Google</td>
<td id="media-video-av1-raw"></td>
</tr>
<tr>
<td>AV1 (<code class="mime">video/ogg; codecs="av1"</code>)</td>
<td>AOMedia Video 1 inside an Ogg container</td>
<td>Google</td>
<td id="media-video-av1-ogg"></td>
</tr>
<tr>
<td>AV1 (<code class="mime">video/webm; codecs="av1"</code>)</td>
<td>AOMedia Video 1 inside an WebM container</td>
<td>Google</td>
<td id="media-video-av1-webm"></td>
</tr>
</table>
<h3>Playlists</h3>
<table border="1">
<tr>
<th>Codec</th>
<th>Description</th>
<th>Developer</th>
<th>Supported</th>
</tr>
<tr>
<td>M3U (<code class="mime">application/mpegurl</code> and <code class="mime">application/x-mpegurl</code>)</td>
<td>MPEG Layer III URI</td>
<td>Winamp</td>
<td id="media-playlists-m3u"></td>
</tr>
<tr>
<td>M3U Audio (<code class="mime">audio/mpegurl</code> and <code class="mime">audio/x-mpegurl</code>)</td>
<td>MPEG Layer III URI (Audio only)</td>
<td>Winamp</td>
<td id="media-playlists-m3u-audio"></td>
</tr>
</table>
<h3>Streaming</h3>
<table border="1">
<tr>
<th>Codec</th>
<th>Description</th>
<th>Developer</th>
<th>Supported</th>
</tr>
<tr>
<td>DASH (<code class="mime">application/dash+xml</code>)</td>
<td>Dynamic Adaptive Streaming over HTTP</td>
<td>MPEG</td>
<td id="media-streaming-dash"></td>
</tr>
<tr>
<td>HLS (<code class="mime">application/vnd.apple.mpegurl</code>)</td>
<td>HTTP Live Streaming</td>
<td>Apple</td>
<td id="media-streaming-hls"></td>
</tr>
<tr>
<td>HLS Audio (<code class="mime">application/vnd.apple.mpegurl.audio</code>)</td>
<td>HTTP Live Streaming (Audio only)</td>
<td>Apple</td>
<td id="media-streaming-hls-audio"></td>
</tr>
</table>
<script>
class BrowserSupportChecker{
static existsOn(clazz,parent){
return (!!clazz) && clazz in parent;
}
static existsGlobal(clazz){
return BrowserSupportChecker.existsOn(clazz,window);
}
static isClassHTMLMediaElementSupported(){
return BrowserSupportChecker.existsGlobal('HTMLMediaElement');
}
static isClassHTMLAudioElementSupported(){
return BrowserSupportChecker.existsGlobal('HTMLAudioElement');
}
static isClassHTMLVideoElementSupported(){
return BrowserSupportChecker.existsGlobal('HTMLVideoElement');
}
static isClassMediaSourceSupported(){
return BrowserSupportChecker.existsGlobal('MediaSource');
}
static isCodecMIMETypeSupported(mimeType){
if(BrowserSupportChecker.isClassMediaSourceSupported()){
if(BrowserSupportChecker.existsOn('isTypeSupported',MediaSource)){
console.log(mimeType,MediaSource.isTypeSupported(mimeType));
let supported = MediaSource.isTypeSupported(mimeType);
if(supported){
return true;
}
}
}
if(BrowserSupportChecker.isClassHTMLVideoElementSupported()){
let video = document.createElement('video');
return video.canPlayType(mimeType);
}
return false;
}
}
function setSupported(elem,supported){
if(!elem){
return;
}
if(supported){
elem.innerHTML = '<b style="color:green;">Supported</b>';
}else{
elem.innerHTML = '<b style="color:red;">Not Supported</b>';
}
}
//////
////// MEDIA - BASICS
//////
let htmlmediaelement = document.getElementById('media-basics-htmlmediaelement');
setSupported(htmlmediaelement,BrowserSupportChecker.existsGlobal('HTMLMediaElement'));
let mediasource = document.getElementById('media-basics-mediasource');
setSupported(mediasource,BrowserSupportChecker.existsGlobal('MediaSource'));
//////
////// MEDIA - CONTAINERS
//////
let _3gp_audio = document.getElementById('media-containers-3gp-audio');
setSupported(_3gp_audio,BrowserSupportChecker.isCodecMIMETypeSupported('audio/3gpp'));
let _3gp_video = document.getElementById('media-containers-3gp-video');
setSupported(_3gp_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/3gpp'));
let _3g2_audio = document.getElementById('media-containers-3g2-audio');
setSupported(_3g2_audio,BrowserSupportChecker.isCodecMIMETypeSupported('audio/3gpp2'));
let _3g2_video = document.getElementById('media-containers-3g2-video');
setSupported(_3g2_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/3gpp2'));
let f4v = document.getElementById('media-containers-f4v');
setSupported(f4v,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-f4v'));
let flv = document.getElementById('media-containers-flv');
setSupported(flv,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-flv'));
let matroska_audio = document.getElementById('media-containers-matroska-audio');
setSupported(matroska_audio,BrowserSupportChecker.isCodecMIMETypeSupported('audio/x-matroska'));
let matroska_video = document.getElementById('media-containers-matroska-video');
setSupported(matroska_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-matroska'));
let mp1s_video = document.getElementById('media-containers-mp1s-video');
setSupported(mp1s_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/mp1s'));
let mp2p_video = document.getElementById('media-containers-mp2p-video');
setSupported(mp2p_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/mp2p'));
let mp2t_video = document.getElementById('media-containers-mp2t-video');
setSupported(mp2t_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/mp2t'));
let mp4_audio = document.getElementById('media-containers-mp4-audio');
setSupported(mp4_audio,BrowserSupportChecker.isCodecMIMETypeSupported('audio/mp4'));
let mp4_video = document.getElementById('media-containers-mp4-video');
setSupported(mp4_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/mp4'));
let mp4_application = document.getElementById('media-containers-mp4-application');
setSupported(mp4_application,BrowserSupportChecker.isCodecMIMETypeSupported('application/mp4'));
let mp21_application = document.getElementById('media-containers-mp21-application');
setSupported(mp21_application,BrowserSupportChecker.isCodecMIMETypeSupported('application/mp21'));
let ogg_audio = document.getElementById('media-containers-ogg-audio');
setSupported(ogg_audio,BrowserSupportChecker.isCodecMIMETypeSupported('audio/ogg'));
let ogg_video = document.getElementById('media-containers-ogg-video');
setSupported(ogg_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/ogg'));
let ogg_application = document.getElementById('media-containers-ogg-application');
setSupported(ogg_application,BrowserSupportChecker.isCodecMIMETypeSupported('application/ogg'));
let quicktime = document.getElementById('media-containers-quicktime');
setSupported(quicktime,BrowserSupportChecker.isCodecMIMETypeSupported('video/quicktime'));
let webm_audio = document.getElementById('media-containers-webm-audio');
setSupported(webm_audio,BrowserSupportChecker.isCodecMIMETypeSupported('audio/webm'));
let webm_video = document.getElementById('media-containers-webm-video');
setSupported(webm_video,BrowserSupportChecker.isCodecMIMETypeSupported('video/webm'));
//////
////// MEDIA - AUDIO
//////
let aac_raw = document.getElementById('media-audio-aac-raw');
setSupported(aac_raw,BrowserSupportChecker.isCodecMIMETypeSupported('audio/aac'));
let aacp_raw = document.getElementById('media-audio-aacp-raw');
setSupported(aacp_raw,BrowserSupportChecker.isCodecMIMETypeSupported('audio/aacp'));
let flac_raw = document.getElementById('media-audio-flac-raw');
setSupported(flac_raw,BrowserSupportChecker.isCodecMIMETypeSupported('audio/flac'));
let flac_ogg = document.getElementById('media-audio-flac-ogg');
setSupported(flac_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('audio/ogg; codecs="flac"'));
let flac_webm = document.getElementById('media-audio-flac-webm');
setSupported(flac_webm,BrowserSupportChecker.isCodecMIMETypeSupported('audio/webm; codecs="flac"'));
let mpeg1a_raw = document.getElementById('media-audio-mpeg1-raw');
setSupported(mpeg1a_raw,BrowserSupportChecker.isCodecMIMETypeSupported('audio/mpeg'));
let mpeg2a_raw = document.getElementById('media-audio-mpeg2-raw');
setSupported(mpeg2a_raw,BrowserSupportChecker.isCodecMIMETypeSupported('audio/mpeg'));
let opus_raw = document.getElementById('media-audio-opus-raw');
setSupported(opus_raw,BrowserSupportChecker.isCodecMIMETypeSupported('audio/opus'));
let opus_ogg = document.getElementById('media-audio-opus-ogg');
setSupported(opus_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('audio/ogg; codecs="opus"'));
let opus_webm = document.getElementById('media-audio-opus-webm');
setSupported(opus_webm,BrowserSupportChecker.isCodecMIMETypeSupported('audio/webm; codecs="opus"'));
let speex_raw = document.getElementById('media-audio-speex-raw');
setSupported(speex_raw,BrowserSupportChecker.isCodecMIMETypeSupported('audio/speex') || BrowserSupportChecker.isCodecMIMETypeSupported('audio/x-speex'));
let speex_ogg = document.getElementById('media-audio-speex-ogg');
setSupported(speex_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('audio/ogg; codecs="speex"'));
let speex_webm = document.getElementById('media-audio-speex-webm');
setSupported(speex_webm,BrowserSupportChecker.isCodecMIMETypeSupported('audio/webm; codecs="speex"'));
let vorbis_raw = document.getElementById('media-audio-vorbis-raw');
setSupported(vorbis_raw,BrowserSupportChecker.isCodecMIMETypeSupported('audio/vorbis'));
let vorbis_ogg = document.getElementById('media-audio-vorbis-ogg');
setSupported(vorbis_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('audio/ogg; codecs="vorbis"'));
let vorbis_webm = document.getElementById('media-audio-vorbis-webm');
setSupported(vorbis_webm,BrowserSupportChecker.isCodecMIMETypeSupported('audio/webm; codecs="vorbis"'));
//////
////// MEDIA - VIDEO
//////
let dirac_raw = document.getElementById('media-video-dirac-raw');
setSupported(dirac_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/dirac') || BrowserSupportChecker.isCodecMIMETypeSupported('video/x-dirac'));
let dirac_ogg = document.getElementById('media-video-dirac-ogg');
setSupported(dirac_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('video/ogg; codecs="daala"'));
let dirac_webm = document.getElementById('media-video-dirac-webm');
setSupported(dirac_webm,BrowserSupportChecker.isCodecMIMETypeSupported('video/webm; codecs="daala"'));
let daala_raw = document.getElementById('media-video-daala-raw');
setSupported(daala_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/daala'));
let daala_ogg = document.getElementById('media-video-daala-ogg');
setSupported(daala_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('video/ogg; codecs="daala"'));
let daala_webm = document.getElementById('media-video-daala-webm');
setSupported(daala_webm,BrowserSupportChecker.isCodecMIMETypeSupported('video/webm; codecs="daala"'));
let mpeg1v_raw = document.getElementById('media-video-mpeg1-raw');
setSupported(mpeg1v_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/mpeg'));
let mpeg2v_raw = document.getElementById('media-video-mpeg2-raw');
setSupported(mpeg2v_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/mpeg'));
let theora_raw = document.getElementById('media-video-theora-raw');
setSupported(theora_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/theora'));
let theora_ogg = document.getElementById('media-video-theora-ogg');
setSupported(theora_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('video/ogg; codecs="theora"'));
let theora_webm = document.getElementById('media-video-theora-webm');
setSupported(theora_webm,BrowserSupportChecker.isCodecMIMETypeSupported('video/webm; codecs="theora"'));
let truemotion_raw = document.getElementById('media-video-truemotion-raw');
setSupported(truemotion_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-truemotion'));
let ultimotion_raw = document.getElementById('media-video-ultimotion-raw');
setSupported(ultimotion_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-ultimotion'));
let vp3_raw = document.getElementById('media-video-vp3-raw');
setSupported(vp3_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-vp3'));
let vp4_raw = document.getElementById('media-video-vp4-raw');
setSupported(vp4_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-vp4'));
let vp5_raw = document.getElementById('media-video-vp5-raw');
setSupported(vp5_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-vp5'));
let vp6_raw = document.getElementById('media-video-vp6-raw');
setSupported(vp6_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-vp6'));
let vp7_raw = document.getElementById('media-video-vp7-raw');
setSupported(vp7_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/x-vp7'));
let vp8_raw = document.getElementById('media-video-vp8-raw');
setSupported(vp8_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/vp8') || BrowserSupportChecker.isCodecMIMETypeSupported('video/x-vp8'));
let vp8_ogg = document.getElementById('media-video-vp8-ogg');
setSupported(vp8_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('video/ogg; codecs="vp8"'));
let vp8_webm = document.getElementById('media-video-vp8-webm');
setSupported(vp8_webm,BrowserSupportChecker.isCodecMIMETypeSupported('video/webm; codecs="vp8"'));
let vp9_raw = document.getElementById('media-video-vp9-raw');
setSupported(vp9_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/vp9') || BrowserSupportChecker.isCodecMIMETypeSupported('video/x-vp9'));
let vp9_ogg = document.getElementById('media-video-vp9-ogg');
setSupported(vp9_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('video/ogg; codecs="vp9"'));
let vp9_webm = document.getElementById('media-video-vp9-webm');
setSupported(vp9_webm,BrowserSupportChecker.isCodecMIMETypeSupported('video/webm; codecs="vp9"'));
let vp10_raw = document.getElementById('media-video-vp10-raw');
setSupported(vp10_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/vp10') || BrowserSupportChecker.isCodecMIMETypeSupported('video/x-vp10'));
let vp10_ogg = document.getElementById('media-video-vp10-ogg');
setSupported(vp10_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('video/ogg; codecs="vp10"'));
let vp10_webm = document.getElementById('media-video-vp10-webm');
setSupported(vp10_webm,BrowserSupportChecker.isCodecMIMETypeSupported('video/webm; codecs="vp10"'));
let av1_raw = document.getElementById('media-video-av1-raw');
setSupported(av1_raw,BrowserSupportChecker.isCodecMIMETypeSupported('video/av1'));
let av1_ogg = document.getElementById('media-video-av1-ogg');
setSupported(av1_ogg,BrowserSupportChecker.isCodecMIMETypeSupported('video/ogg; codecs="av1"'));
let av1_webm = document.getElementById('media-video-av1-webm');
setSupported(av1_webm,BrowserSupportChecker.isCodecMIMETypeSupported('video/webm; codecs="av1"'));
//////
////// MEDIA - Playlists
//////
let m3u = document.getElementById('media-playlists-m3u');
setSupported(m3u,BrowserSupportChecker.isCodecMIMETypeSupported('application/mpegurl') || BrowserSupportChecker.isCodecMIMETypeSupported('application/x-mpegurl'));
let m3u_audio = document.getElementById('media-playlists-m3u-audio');
setSupported(m3u_audio,BrowserSupportChecker.isCodecMIMETypeSupported('audio/mpegurl') || BrowserSupportChecker.isCodecMIMETypeSupported('audio/x-mpegurl'));
//////
////// MEDIA - Streaming
//////
let dash = document.getElementById('media-streaming-dash');
setSupported(dash,BrowserSupportChecker.isCodecMIMETypeSupported('application/dash+xml'));
let hls = document.getElementById('media-streaming-hls');
setSupported(hls,BrowserSupportChecker.isCodecMIMETypeSupported('application/vnd.apple.mpegurl'));
let hls_audio = document.getElementById('media-streaming-hls-audio');
setSupported(hls_audio,BrowserSupportChecker.isCodecMIMETypeSupported('application/vnd.apple.mpegurl.audio'));
</script>
</body>
</html>