diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 843b90ae5b..423e081a2b 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -38,7 +38,7 @@ import { getIncludeCorsCredentials } from '../../scripts/settings/webSettings'; */ function resolveUrl(url) { return new Promise((resolve) => { - var xhr = new XMLHttpRequest(); + const xhr = new XMLHttpRequest(); xhr.open('HEAD', url, true); xhr.onload = function () { resolve(xhr.responseURL || url);