Global Media Controls Panel
-
@davidany Welcome to the Vivaldi Forum. You may find the following links interesting:
Vivaldi Help (F1) : https://help.vivaldi.com/
Vivaldi Tips: https://tips.vivaldi.net
Vivaldi Features: https://vivaldi.com/features/
Local Vivaldi Forum: https://forum.vivaldi.net/category/38/local-forum
Vivaldi Code Of Conduct: https://vivaldi.com/privacy/code-of-conduct/
Vivaldi Company: https://vivaldi.com/en/company/
Vivaldi Business Model: https://vivaldi.com/en/blog/vivaldi-business-model/
Vivaldi Bug Report: https://vivaldi.com/en/bugreport/
Vivaldi Ad blocker: https://vivaldi.com/features/ad-blocker/
Vivaldi Email Client: https://vivaldi.com/features/mail/
Vivaldi Search Engines Collection: https://forum.vivaldi.net/topic/46609/guide-vivaldi-search-engines-collection
Vivaldi Privacy: https://vivaldi.com/privacy/browser/
Modding Vivaldi: https://forum.vivaldi.net/topic/10549/modding-vivaldi
Show Me Your Web Panels: https://forum.vivaldi.net/topic/11564/show-me-your-web-panels
Vivaldi Color Schemes: https://forum.vivaldi.net/topic/20106/post-your-color-scheme-at-vivaldi
Vivaldi Themes: https://themes.vivaldi.net
Vivaldi Favorite Extension: https://forum.vivaldi.net/topic/12540/vote-for-your-favorite-extension
Vivaldi Comparison Snapshot Vs. Stable Vivaldi: https://vivaldi.com/en/blog/snapshot-vs-stable/
Vivaldi Status: https://vivaldistatus.com
Vivaldi Download: https://vivaldi.com/download/
Support or donate to Vivaldi: https://vivaldi.com/contribute/
Vivaldi For Android: https://forum.vivaldi.net/category/147/vivaldi-browser-for-android
Vivaldi for iOS (iPhone): https://vivaldi.com/ios/
Vivaldi One Million Ways To make It Yours: https://vivaldi.com/de/onemillion/
-
@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!