You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to increase the volume of the video to more than 100%. However, I'm not sure if this is possible with HTML5 video or what the correct JavaScript code would be. There is a thread below. Can we map the JavaScript code from the thread to a hotkey in Vimium?"
After some troubleshooting, I found a solution that works! Here’s the JavaScript code to incrementally increase the volume of HTML5 videos using Vimium key mappings. This could be added in a future update:
The code uses JavaScript to incrementally increase the volume of HTML5 videos through Vimium key mappings.
I want to increase the volume of the video to more than 100%. However, I'm not sure if this is possible with HTML5 video or what the correct JavaScript code would be. There is a thread below. Can we map the JavaScript code from the thread to a hotkey in Vimium?"
https://stackoverflow.com/questions/43794356/html5-volume-increase-past-100/43794379#43794379
I tried to implement below, even though it does work on youtube but not in some of the website. What could be the reason for that?
map openUrl url="javascript:if(!window.audioCtx||!window.gainNode){const\u0020a=document.querySelector('video');if(!a)return;window.audioCtx=new(AudioContext||webkitAudioContext)();const\u0020s=window.audioCtx.createMediaElementSource(a),g=window.audioCtx.createGain();s.connect(g);g.connect(window.audioCtx.destination);window.gainNode=g;}window.gainNode.gain.value=1.5;"
map openUrl url="javascript:if(window.gainNode){window.gainNode.gain.value=1.0;}"
The text was updated successfully, but these errors were encountered: