All the files except this COPYING come from
https://github.com/w3c/web-platform-tests/tree/master/common/
with modification below:
media.js

 function getVideoURI(base)
 {
-    var extension = '.mp4';
+    var extension = '.ogv';

     var videotag = document.createElement("video");

     if ( videotag.canPlayType  &&
-         videotag.canPlayType('video/ogg; codecs="theora, vorbis"') )
+         videotag.canPlayType('video/mp4') )
     {
-        extension = '.ogv';
+        extension = '.mp4';
     }

     return base + extension;
 }

 function getAudioURI(base)
 {
-    var extension = '.mp3';
+    var extension = '.oga';

     var audiotag = document.createElement("audio");

     if ( audiotag.canPlayType &&
-         audiotag.canPlayType('audio/ogg') )
+        audiotag.canPlayType('audio/mpeg') )
     {
-        extension = '.oga';
+        extension = '.mp3';
     }

     return base + extension;
 }

These tests are copyright by W3C and/or the author listed in the test
file. The tests are dual-licensed under the W3C Test Suite License:
http://www.w3.org/Consortium/Legal/2008/04-testsuite-license
and the BSD 3-clause License:
http://www.w3.org/Consortium/Legal/2008/03-bsd-license
under W3C's test suite licensing policy:
http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright

