Jump to content

Topic on Extension talk:TimedMediaHandler/VideoJS Player

Can I turn off this thing?

9
Summary by Jdforrester (WMF)

No. You can hackily hide it with some personal CSS, though.

魔琴 (talkcontribs)

When the VideoJS Player is playing something (even when it's playing audio files), I can no longer browse the page, which is seriously irritating. Can I turn it off? I don't need the old one because I tried blocking JavaScript and the raw HTML one was fine by me. Thanks.

EstherLoer (talkcontribs)

Something you can do in the meantime is to add the following code to your custom style sheet (shortcut: Special:MyPage/common.css):

/* Floating media player */
.oo-ui-windowManager-modal > .oo-ui-dialog { background-color:unset; }
.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-active { width:300px; height:200px; right:0; bottom:0; top:unset; left:unset; }
.oo-ui-windowManager-modal-active { overflow:unset; }

/* Increase subtitle size for readability */
.vjs-text-track-cue { font-size: 20px!important; inset:50% 0 0 !important; }

This will put the pop-up player into the corner and allows you to scroll during playback.

An alternative is to open two tabs, one for playback and one for scrolling.

TheDJ (talkcontribs)

Just a note that this applies to ALL your oo-ui dialogs, including in VE and on mobile, so it will have quite some side effects, please do not advise this to random ppl who cannot be trusted to manage their own CSS files, it's a maintenance nightmare.

魔琴 (talkcontribs)

Ah thanks! That's much better!

EstherLoer (talkcontribs)

I am glad I could help you! 😃

TheDJ (talkcontribs)

No

魔琴 (talkcontribs)
Ljcool2006 (talkcontribs)

Is there a way to enable the old player?

TheDJ (talkcontribs)

no