Skip to content

Commit 894815c

Browse files
Merge pull request #4291 from IgorA100/patch-855051
Fix: Don't apply "manageVisibilityVideoPlayerControlPanel" for video.js (skin.js)
2 parents eda4ee0 + 506c419 commit 894815c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/skins/classic/js/skin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,8 @@ function manageVisibilityVideoPlayerControlPanel(evt, action) {
14511451
if (!video) {
14521452
video = evt.target.getAttribute('tagName');
14531453
}
1454-
if (video) {
1454+
if (video && !video.closest('#videoobj')) {
1455+
// We do not touch the video.js object, since it has its own controls.
14551456
if (action == 'hide') {
14561457
video.removeAttribute('controls');
14571458
} else if (action == 'show') {

0 commit comments

Comments
 (0)