Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function __init__() {
- var id = ["HltrwtIg7yY", "y4e4XKgmw28", "vlpRir5Ch4M", "CD-E-LDc384"];
- var video = songs[Math.floor((Math.random() * id.length))];
- var iframe = document.createElement("iframe");
- iframe.src = "https://www.youtube.com/embed/'+video+'?&autoplay=1";
- iframe.frameborder = "0";
- iframe.scrolling = "auto";
- iframe.setAttribute("style", "position:fixed;top:0;left:0;width:100%;height:100%;overflow-x:hidden;");
- html = document.documentElement;
- html.appendChild(iframe);
- }
- __init__()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement