A userscript to add functionality to 8chan.
< 脚本 8chanSS 的反馈
bro edit line 773, because the video always play on full volume on hover
if (isVideo) { floatingMedia.autoplay = true; floatingMedia.loop = true; floatingMedia.muted = false; floatingMedia.playsInline = true; // Add volume control for videos let volume = 0.5; try { const v = await getSetting("hoverVideoVolume"); if (typeof v === "number" && !isNaN(v)) { volume = v / 100; } } catch {} floatingMedia.volume = clamp(volume, 0, 1); }
Thank you for the bug report.Will be fixed in the next version.
登录以发布留言。
bro edit line 773, because the video always play on full volume on hover