return to the first compatibility test
authorEdwin Razafimahatratra <edwin@robotalismsoft.com>
Sun, 10 Feb 2013 15:52:33 +0100
changeset 128 d223f66ae890
parent 127 49f930abb58a
child 129 d796993fe244
return to the first compatibility test
web/index.html
--- a/web/index.html	Fri Feb 08 17:53:10 2013 +0100
+++ b/web/index.html	Sun Feb 10 15:52:33 2013 +0100
@@ -41,11 +41,11 @@
 				console.log("No canvas support");
 				nosupport = true;
 			}
-			if (!Modernizr.audio || !(Modernizr.audio.mp3 || Modernizr.audio.ogg)) {
+			if (!Modernizr.audio) {
 				console.log("No audio support");
 				nosupport = true;
 			}
-			if (!Modernizr.video || !(Modernizr.video.mp4 || Modernizr.video.ogg)) {
+			if (!Modernizr.video) {
 				console.log("No video support");
 				nosupport = true;
 			}