fix check for webm support, which had logic reversed

patches
Antoine Beaupré 2014-02-13 21:32:45 -05:00
parent 5e53d3ac3b
commit ecbd6d5552
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ $(document).ready(function() {
if (!Modernizr.video) {
$('<div id="video-unsupported"><p>Sorry, your browser doesn\'t support the HTML5 &lt;video&gt; element!</p><p>Here\'s a <a href="http://caniuse.com/video">list of which browsers do</a>.</p></div>').appendTo('#video-box-inner');
}
else if (Modernizr.video.webm) {
else if (!Modernizr.video.webm) {
$('<div id="video-unsupported"><p>Sorry, your browser doesn\'t support the WebM video format!</p></div>').appendTo('#video-box-inner');
}
else {