Comments (5)
Awesome, this works
Thank you so much.
from globalspeed.
Just wanted to give a heads up for anyone running into this issue in the future, the script works but seems to have problem running along with Plasma Integration by KDE addon in Firefox on Linux.
So, when using the addon to unmute videos, it turns out the "enhanced media controls" option in preferences in the Plasma Integration messes with the script.
Just turn that off and it should work perfectly.
from globalspeed.
This javascript should work for most websites. You can add a URL rule that loads it on relevant sites. Let me know if there's any problems setting it up.
- Open options page and go down to URL Rules section.
- Create a URL rule.
- Enable 'ILO' so the script doesn't load twice.
- Click -- 0 -- to change the URL conditions.
- Add the websites you want the script to load on.
- Change the URL Rule's mode from 'speed' to 'javascript. Click edit, and paste in the javascript I provided below.
window.addEventListener('volumechange', e => {
e.target.muted = false
e.defaultMuted = false
}, true)
setTimeout(() => {
document.querySelectorAll('video').forEach(v => {
v.muted = false
v.defaultMuted = false
})
}, 1000)
from globalspeed.
Thank you for reaching out this quickly but sadly this doesn't work.
This is a clip of the issue, which was made after adding the URL rule.
https://streamable.com/kmarv0
from globalspeed.
Maybe this.
window.addEventListener('playing', e => {
e.target.muted = false
e.defaultMuted = false
}, true)
setTimeout(() => {
document.querySelectorAll('video').forEach(v => {
v.muted = false
v.defaultMuted = false
})
}, 1000)
from globalspeed.
Related Issues (20)
- Toggle velocity feature is missing HOT 11
- URL Rules not working HOT 2
- Acceleration Function Not Working After Update (2024/5/25) HOT 5
- 🔴 速度 - 设置为值,出现 BUG HOT 8
- 可以把速度-设置为值的功能调整回原来的版本吗 HOT 4
- 🔴 关于「显示媒体信息」和「加深背景」,以及一些小建议 HOT 10
- White/black square in the middle of chrome tab HOT 6
- 关于项目中存在console.log HOT 1
- 希望可以增加一个增加音量和一个返回音频播放页面的功能 HOT 1
- 希望仍可以像 Youtube 按住 Space 可以暫時2倍快轉功能,放開回原倍速 HOT 3
- Translated into Ukrainian HOT 1
- Speed changes have a noticeably increased delay after a recent update HOT 3
- Does not always work on YouTube
- 在特定的网页使用快捷键无法打开Global Speed HOT 1
- 请问能否使用非全局快捷键来控制PIP视频浮窗 HOT 3
- 3.0.992 会导致Home Assistant页面加载不出来 HOT 8
- 播放视频播着播着每隔几分钟给我视频语音降调了,可是我是倍速播放啊1.8以及2倍速 HOT 2
- Youtube音量设置问题
- [BUG?] Global shortcut doesn't work in Arc (chromium based browser) split-screen HOT 3
- Y2K HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from globalspeed.