summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2015-09-30 15:15:07 +0100
committerLuke Bratch <luke@bratch.co.uk>2015-09-30 15:15:07 +0100
commitf493c459cd1ce41f9e28d7c2b42805d3c1b297e5 (patch)
treef02d2887b2d56acad8756cfc14d1da0971fee25e
parent218f98eb531fe0a23ef211050de913d3febf90ba (diff)
Add some valid HTML and useful JavaScript
-rw-r--r--iplayer.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/iplayer.php b/iplayer.php
index 5234fd4..97d6d6c 100644
--- a/iplayer.php
+++ b/iplayer.php
@@ -1,3 +1,16 @@
+<!DOCTYPE html>
+
+<html>
+
+<head>
+
+<meta charset="UTF-8">
+<title>iPlayer video stream extractor</title>
+
+</head>
+
+<body>
+
<?php
define("CURLIFACE", "192.168.122.9");
@@ -21,6 +34,15 @@ e.g. http://www.bbc.co.uk/iplayer/episode/b04tr8c4/<br>
You can also use ?id= to specify a programme ID directly to bypass this form<br>
e.g. http://iplayer.of.je/?id=b04tr8c4</p>
</form>
+
+<script type="text/javascript">
+ document.getElementById("url").focus();
+ document.getElementById("url").select();
+</script>
+
+</body>
+
+</html>
<?php
exit();
}