User:SignpostMarv/common.js

addEventListener('DOMContentLoaded', function {	const videos = document.querySelectorAll('.page-content video.autoplay:not([autoplay]),.page-content video.loop:not([loop])');	[...videos].forEach(function (video) { if (video.classList.includes('autoplay')) { video.autoplay = true; }		if (video.classList.includes('loop')) { video.loop = true; }		console.log(video); }); });