12 lines
306 B
PHP
12 lines
306 B
PHP
<!doctype html>
|
|
<?php
|
|
if(isset($_GET['source'])) {
|
|
highlight_file(__FILE__);
|
|
exit;
|
|
}
|
|
?>
|
|
<a id="mpv" href="mpv:<?=filter_input(INPUT_GET, "url", FILTER_SANITIZE_URL);?>">Open in MPV</a>
|
|
<script>
|
|
document.getElementById('mpv').click();
|
|
setTimeout(function() { window.close() }, 1);
|
|
</script>
|