Initial commit

This commit is contained in:
isUnknown 2026-02-12 15:22:46 +01:00
commit 65e0da7e11
1397 changed files with 596542 additions and 0 deletions

View file

@ -0,0 +1 @@
var pluginEmbedLoadLazyVideo=function(){var e=this.parentNode,d=e.children[0];d.src=d.dataset.src,e.removeChild(this)};document.addEventListener("DOMContentLoaded",function(e){for(var d=document.getElementsByClassName("embed__thumb"),t=0;t<d.length;t++)d[t].addEventListener("click",pluginEmbedLoadLazyVideo,!1)});

View file

@ -0,0 +1,14 @@
var pluginEmbedLoadLazyVideo = function() {
var wrapper = this.parentNode;
var embed = wrapper.children[0];
embed.src = embed.dataset.src;
wrapper.removeChild(this);
};
document.addEventListener("DOMContentLoaded", function(event) {
var thumb = document.getElementsByClassName('embed__thumb');
for (var i = 0; i < thumb.length; i++) {
thumb[i].addEventListener('click', pluginEmbedLoadLazyVideo, false);
}
});