Global Media Controls Panel
-
@stardepp tyvm, i didnt rename js file properly, working now
-
@davidany Very good, I'm happy for you.
-
I just added the script to my
custom.js
and find it very very nice and useful. Thank you @tam710562 ! -
Is it also possible to extend this script so that the music player (program in the OS) can also be operated? At the moment I use the custom keys of the keyboard for this.
-
Thank you for the great features! Since 6.2, the stops don't work properly, so a fix would be appreciated!
-
@harukairo This can only be due to your settings.
This mod works very well for me with many audio and video streaming websites.
-
@stardepp Really? That's a problem. In my case, even youtube can't stop ...
-
By the way, I have a standalone installation of vivaldi, is that related?
-
@harukairo I have to agree with you. YouTube is displayed in the Global Media Control panel, but unfortunately Play and Pause do not work.
This probably has something to do with this problem:
https://forum.vivaldi.net/topic/92156/little-youtube-mistake
-
The mod looks really cool, and it works fine to me (includes YouTube videos).
I made the following modification:
- wvb.style.display = 'none'; + wvb.parentElement.style.display = 'none';
This way the buttons go away completely in incognito mode. However they will still appear before disappearing, so if you pay attention, you will see it flicker for a moment. idk if it's better.
I also did some minor tweaks to the style. I added some margin and border-radius to the items to prevent it from looking too compact and solid. I also add some animations. However I haven't tested this in other themes so it might looks weird in some themes.
'.global-media-controls-content .item { position: relative; display: flex; overflow: hidden; min-height: 100px; background-color: var(--colorGMCBg); color: var(--colorGMCFg); margin: 10px; border-radius: 5px; box-shadow: 0px 0px 3px var(--colorGMCBg); transition: all .5s ease-out; }', '.global-media-controls-content .item:hover { margin: 10px 5px; box-shadow: 0px 0px 13px var(--colorGMCBg); }',
-
Now this........ IS AMAZING. I love it!!
-
In my case, videos seem to be uglier when this mod is applied. (like some kind of bad sharpening filter applied)
with mod:
without: -
@plakonn There's a button in the panel that (de)activates that filter. next to the audio button. (looks like 3 stars).
See if that works for you -
Btw, I've been working on a mod that "integrates" with this one. Will do a post soon (and mention/credit @tam710562 )
-
I think it's causing Vivaldi to crash after update to 6.5.3206.39 (Stable channel) (64bit)
-
@plakonn I tried and didn't find any problem on 6.5.3206.39 (Stable channel) (64bit)
-
@tam710562 Global Media Controls also works perfectly for me with Vivaldi 6.5.3206.42 on Windows 11 23H2.
-
I just added an update to fix some bugs
- Fix duplicated controls when tab goes into hibernation
- Fix the issue where the button to open the panel did not completely disappear in incognito mode
- Fix a bug that made it impossible to add a new webpanel
-
This post is deleted! -
Stopped working in Vivaldi 7.0.3495.6 (Stable).