fix check for webm support, which had logic reversed
This commit is contained in:
parent
5e53d3ac3b
commit
ecbd6d5552
@ -190,7 +190,7 @@ $(document).ready(function() {
|
|||||||
if (!Modernizr.video) {
|
if (!Modernizr.video) {
|
||||||
$('<div id="video-unsupported"><p>Sorry, your browser doesn\'t support the HTML5 <video> element!</p><p>Here\'s a <a href="http://caniuse.com/video">list of which browsers do</a>.</p></div>').appendTo('#video-box-inner');
|
$('<div id="video-unsupported"><p>Sorry, your browser doesn\'t support the HTML5 <video> 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');
|
$('<div id="video-unsupported"><p>Sorry, your browser doesn\'t support the WebM video format!</p></div>').appendTo('#video-box-inner');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user