diff --git a/src/plugins/mpvVideoPlayer/plugin.js b/src/plugins/mpvVideoPlayer/plugin.js index 7abb66537e..5153ac99d5 100644 --- a/src/plugins/mpvVideoPlayer/plugin.js +++ b/src/plugins/mpvVideoPlayer/plugin.js @@ -191,8 +191,8 @@ async function getApi() { tryGetFramerate(options) { if (options.mediaSource && options.mediaSource.MediaStreams) { - for (let stream of options.mediaSource.MediaStreams) { - if (stream.Type == "Video") { + for (const stream of options.mediaSource.MediaStreams) { + if (stream.Type == 'Video') { return stream.RealFrameRate || stream.AverageFrameRate || null; } }