MediaWiki:Common.js: Difference between revisions

From Heavenly Wiki
Jump to navigation Jump to search
Created page with "$(document).ready(function() { if (!$('#bg-video').length) { $('body').prepend(` <video autoplay muted loop playsinline id="bg-video"> <source src="/resources/assets/bg.webm" type="video/webm"> </video> `); } });"
 
Blanked the page
Tag: Blanking
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
$(document).ready(function() {
 
  if (!$('#bg-video').length) {
    $('body').prepend(`
      <video autoplay muted loop playsinline id="bg-video">
        <source src="/resources/assets/bg.webm" type="video/webm">
      </video>
    `);
  }
});

Latest revision as of 21:21, 1 May 2025