mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Remove the autoplay attribute from videos if they have it. Fixes #2973
This commit is contained in:
@@ -72,6 +72,7 @@ function inlineVideos() {
|
||||
element.setAttribute("playsinline", true);
|
||||
if (!element.classList.contains("nnwAnimatedGIF")) {
|
||||
element.setAttribute("controls", true);
|
||||
element.removeAttribute("autoplay");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user