diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 422666374b..1dee23e6e6 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -1608,13 +1608,11 @@ export class HtmlVideoPlayer { if (!dlg) { return import('./style.scss').then(() => { - loading.show(); + if (options.fullscreen) loading.show(); const playerDlg = document.createElement('div'); playerDlg.setAttribute('dir', 'ltr'); - playerDlg.classList.add('videoPlayerContainer'); - if (options.fullscreen) { playerDlg.classList.add('videoPlayerContainer-onTop'); }