Fix redundant double negation errors

This commit is contained in:
Bill Thornton 2020-02-26 00:19:04 -05:00
parent f7997d5270
commit fb2fe462df
3 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ define(['browser'], function (browser) {
return true;
}
if (!!videoTestElement.canPlayType) {
if (videoTestElement.canPlayType) {
return videoTestElement.canPlayType('application/x-mpegurl; codecs="avc1.42E01E, ac-3"').replace(/no/, '') ||
videoTestElement.canPlayType('application/vnd.apple.mpegURL; codecs="avc1.42E01E, ac-3"').replace(/no/, '');
}