Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!isset($_GET['slug']) || !file_exists($_SERVER['DOCUMENT_ROOT'] . '/v/' . $_GET['slug'] . '.webm'))
- {
- header('Location: /');
- die();
- }
- $file = '/v/' . $_GET['slug'] . '.webm';
- $nsfw_enabled = isset($_COOKIE['boobs']) ? $_COOKIE['boobs'] == 'yes' : False;
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <script>
- function play()
- {
- var video = document.getElementById("video");
- video.play();
- }
- </script>
- <style>
- #playButton {
- position: fixed;
- right: 1em;
- bottom: 1em;
- }
- #DMCA {
- position: fixed;
- left: 1em;
- bottom: 2.56em;
- }
- #Discord {
- position: fixed;
- left: 1em;
- bottom: 1em;
- }
- #nsfwButton {
- position: fixed;
- right: 1em;
- bottom: 2.56em;
- }
- #video {
- width: 100%;
- height: 100vh;
- }
- </style>
- <title>The most scuffed webms on the internet!</title>
- </head>
- <body style='background-color:black'>
- <a href="/">
- <video autoplay loop id="video">
- <source src="<?= $file ?>" type="video/webm">
- </video>
- </a>
- <button id="nsfwButton" onclick='window.location.href= "/?nsfw=<?= $nsfw_enabled ? "no" : "yes"?>&redir=<?= $_GET['slug'] ?>"'><?= $nsfw_enabled ? "Disable" : "Enable"?> NSFW Content</button>
- <button id="playButton" onclick="play()">unpause video if ur on gay chrome</button>
- <button id="DMCA" onclick="location.href='https://www.kisak.club/index.php?help/DMCA/'">DMCA Request</button>
- <button id="Discord" onclick="location.href='https://kisak.xyz/discord'">Join Our Discord!</button>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment