mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-18 11:35:15 -04:00
When testing for ability to play codec, do it muted so that it succeeds on reload
This commit is contained in:
@@ -1491,6 +1491,7 @@ function canPlayCodec(filename) {
|
||||
else {
|
||||
console.log('matches didnt match'+matches[1]);
|
||||
}
|
||||
video.muted = true;
|
||||
|
||||
const can = video.canPlayType('video/mp4; codecs="'+matches[1]+'"');
|
||||
if (can == "probably") {
|
||||
|
||||
Reference in New Issue
Block a user