>>2659760>getting filtered by lpsg of all places(function() {
'use strict';
function replaceVideoElements() {
const blockerElements = document.querySelectorAll('.video-easter-egg-blocker, .video-easter-egg-overlay');
blockerElements.forEach(el => el.remove());
const posterElements = document.querySelectorAll('.video-easter-egg-poster img');
posterElements.forEach(el => {
const src = el.src;
const baseSrc = src.replace('/data/attachments/posters/', '/data/video/').replace('.jpg', '.mp4');
const videoElem = `
<video controls data-xf-init="video-init" data-poster="${src}" class="" style="" poster="${src}">
<source data-src="${baseSrc}" src="${baseSrc}">
<div class="bbMediaWrapper-fallback">Your browser is not able to display this video.</div>
</video>
`;
el.parentElement.outerHTML = videoElem;
});
}
replaceVideoElements();
})();