JS user-script. - Adding a control panel to the video (if Discord's native controls don't turn off the sound).
-
Add a user-script extension to your browser.
For example: User JavaScript and CSS -
Add a rule for:
https://discord.com/* -
Rule code:
window.addEventListener("load", function()
{
setInterval(add_video_controls, 1000);
});
function add_video_controls()
{
var list = document.querySelectorAll("video");
for (var i = 0; i < list.length; i++)
{
if (list[i].controls == false)
{
list[i].setAttribute("controls", true);
list[i].setAttribute("style", "z-index: 10000;");
}
}
}