summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-01-23 21:05:05 -0500
committerB. Stack <bgstack15@gmail.com>2023-01-23 21:05:05 -0500
commitd2fbe8e7946f087bc50b29d80ac4b89cb75fad87 (patch)
treebd2edebe798ac76ec84ff622829688e08afc6a45 /index.html
downloadmetube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.tar.gz
metube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.tar.bz2
metube-internal-d2fbe8e7946f087bc50b29d80ac4b89cb75fad87.zip
initial commit
Diffstat (limited to 'index.html')
-rw-r--r--index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..7480bfe
--- /dev/null
+++ b/index.html
@@ -0,0 +1,19 @@
+<html>
+<head>
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>Metube help</title>
+</head>
+<body>
+<h1>Bookmarklets</h1>
+Save this bookmarklet in your browser. On a page with the video to save, click the bookmarklet!
+<br/>Chrome:
+<a href='javascript:!function(){xhr=new XMLHttpRequest();xhr.open("POST","https://server3.ipa.internal.com/metube/add");xhr.send(JSON.stringify({"url":document.location.href,"quality":"best"}));xhr.onload=function(){if(xhr.status==200){alert("Sent to metube!")}else{alert("Send to metube failed. Check the javascript console for clues.")}}}();'>Save to Jellyfin</a>
+<br/>Firefox:
+<a href='javascript:(function(){xhr=new XMLHttpRequest();xhr.open("POST","https://server3.ipa.internal.com/metube/add");xhr.send(JSON.stringify({"url":document.location.href,"quality":"best"}));xhr.onload=function(){if(xhr.status==200){alert("Sent to metube!")}else{alert("Send to metube failed. Check the javascript console for clues.")}}})();'>Save to Jellyfin</a>
+<p><a href="/metube/">Status page</a>
+<h1>Notes</h1>
+On mobile devices, you will need to use the sharing menu from, e.g., the Youtube app, select "Copy link," and then visit the status page and paste the URL. Some mobile devices should be able to save the status page URL on the home page, which is just a dedicated shortcut to this page in a web browser.
+</body>
+<footer>
+</footer>
+</html>
bgstack15