flash.moe/public/mpv.php

13 lines
308 B
PHP
Raw Normal View History

2020-10-03 16:22:14 +00:00
<!doctype html>
2020-10-30 20:44:56 +00:00
<?php
if(isset($_GET['source'])) {
highlight_file(__FILE__);
exit;
}
?>
2020-10-03 16:22:14 +00:00
<a id="mpv" href="mpv:<?=filter_input(INPUT_GET, "url", FILTER_SANITIZE_URL);?>">Open in MPV</a>
<script>
document.getElementById('mpv').click();
2021-04-06 19:06:39 +00:00
setTimeout(function() { window.close() }, 100);
2020-10-03 16:22:14 +00:00
</script>