L O A D I N G . . .
How do I make an l o a d i n g . . .?
What is a l o a d i n g . . .? How do you make a l o a d i n g . . .? This script and codes were developed by Leo on 24 December 2022, Saturday.
L O A D I N G . . . - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>L O A D I N G . . .</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="player"></div>
<div id="cover"></div>
<div id="creds">Built by <a href="https://thelmgn.com">theLMGN</a> with the <a href="https://developers.google.com/youtube/player_parameters">YouTube JS API</a>, <a href="https://codepen.io/LMGN/pen/owyjMw">CodePen</a> and <a href="https://www.youtube.com/watch?v=Wl2Q_MceIUc">this video</a>.</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
L O A D I N G . . . - Script Codes CSS Codes
#player { z-index: 0; position: absolute; width: 75%; height: 75%; left: 12.5%; top: 12.5%;
}
#cover { z-index: 1; position: absolute; width: 100%; height: 100%;
}
#creds { z-index: 2; position: absolute; width: 100%; height: auto; top: 100%;
}
@import url('https://fonts.googleapis.com/css?family=Varela+Round');
body, #creds { font-family: "Varela Round"; color: #fff; background: rgb(1,0,1);
}
body { /* Scrolling junk starts here. Special stuff for Chrome and Edge. Firefox users have to have scrollbars since Moz have no equivilant. Stolen from here: https://stackoverflow.com/a/16671187 */ overflow-x:hidden; overflow-y:scroll; -ms-overflow-style: none;
}
::-webkit-scrollbar { display: none;
}
L O A D I N G . . . - Script Codes JS Codes
var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
var player; function onYouTubeIframeAPIReady() { player = new YT.Player('player', { height: '75%', width: '75%', videoId: 'Wl2Q_MceIUc', playerVars: { 'autoplay': 1, 'controls': 0, 'playsinline': 1,'showinfo': 0, 'modestbranding': 1, 'start': 0, 'rel': 0, 'loop': 1 }, }); }
/* Inform firefox users about unsightly
scrollbars. */
if ($.browser.mozilla) { alert("Hey! It seems you're using Mozilla Firefox. /n/nIf you see unsightly scrollbars, tell Moz not me because they need a alternative to hiding scrollbars (gah)")
}
Developer | Leo |
Username | theLMGN |
Uploaded | December 24, 2022 |
Rating | 3 |
Size | 2,528 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Maths. | 1,549 Kb |
A Pen by Leo | 4,909 Kb |
Fidget Spinner | 1,770 Kb |
File64 | 3,515 Kb |
Testing BootStrap | 1,518 Kb |
Not You Generator | 3,763 Kb |
Pause Based Volume Slider | 2,319 Kb |
Websocket Box Test | 2,518 Kb |
Vivaldi Ad Slider | 2,026 Kb |
Game Start Page | 2,287 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Carousel Test | Sbirchall | 1,509 Kb |
Yuliya v krylova | Rafszul | 37,351 Kb |
Image Stack Test SCSS | CalvinMorett | 2,799 Kb |
Practice using Wixel | Emnk | 3,057 Kb |
Learning FlexBox | Alex_rodrigues | 2,821 Kb |
Responsive Pricing Table | Jeremycaris | 2,690 Kb |
Tab panels | Accessibility | 0 Kb |
Sticky Navbar | Phantomesse | 5,106 Kb |
Login-ng-modal | Heedoo | 3,566 Kb |
A Pen by Miro Olma | Programiro | 2,342 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!