summaryrefslogtreecommitdiff
path: root/index.html
blob: 7480bfe25f76aaf4e1c4f61593f3e7d9bcfadd24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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