Blame view
public/content-loader.php
942 Bytes
e77200db5 Initial commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
<?php // Temporarily disable content-loader until we can verify our sources. http_response_code(404); die(); // Required to run injected scripts. header('X-XSS-Protection: 0'); header('X-Frame-Options: ALLOWALL'); $video = stripslashes(base64_decode($_GET['content'])); $video = str_replace('zeus/embed.js', 'embed.min.js', $video); $video = str_replace('zeus.json', 'player.json', $video); ?> <html> <head> <meta name="robots" content="noindex"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css"> html, body { margin: 0; padding: 15px; height: 100%; } #content iframe, #content .video, #content object { height: 100% !important; width: 100% !important; } #content img { max-width: 100%; } </style> </head> <body> <div id="content" style="height: 100%; width: 100%;"><?= $video ?></div> </body> </html> |