57 lines
2.8 KiB
HTML
57 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="English">
|
|
<head>
|
|
<title>MeTube Downloader</title>
|
|
<style>
|
|
body {
|
|
padding: 0 20px 20px 20px;
|
|
min-width: 400px;
|
|
font-size: 15px;
|
|
}
|
|
input {
|
|
margin: 5px;
|
|
outline: none;
|
|
}
|
|
textarea {
|
|
width: 100%;
|
|
height: 100px;
|
|
}
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
#saved {
|
|
color: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<p>This extension is context menu button for sending links of youtube videos into you own instance of MeTube</p>
|
|
<p>This extension won't work without installed MeTube. For additional instructions see <a href="https://github.com/alexta69/metube" target="_blank">github page of MeTube</a>.</p>
|
|
<p>If you have some troubles with extension you can open issue on github page of extension.</p>
|
|
<form id="form">
|
|
<h3>Settings</h3>
|
|
<label for="metube">Url of MeTube</label><input type="url" placeholder="http://0.0.0.0:8081/" name="metube" id="metube">
|
|
<br>
|
|
|
|
<h4>When you left-click on the extension icon, you'd like it to:</h4>
|
|
<input type="radio" name="click-behavior" id="go-to-metube" value="go-to-metube"><label for="go-to-metube">Go to MeTube URL</label><br>
|
|
<input type="radio" name="click-behavior" id="send-current-url" value="send-current-url"><label for="send-current-url">Send current tab URL to MeTube (no tab switch)</label><br>
|
|
<input type="radio" name="click-behavior" id="send-current-url-and-switch" value="send-current-url-and-switch"><label for="send-current-url-and-switch">Send current tab URL to MeTube and switch to MeTube</label><br>
|
|
|
|
<h4>When you right-click on video preview, you'd like it to:</h4>
|
|
<input type="radio" name="context-menu-click-behavior" id="context-menu-send-current-url" value="context-menu-send-current-url"><label for="context-menu-send-current-url">Send the video URL to MeTube (no tab switch)</label><br>
|
|
<input type="radio" name="context-menu-click-behavior" id="context-menu-send-current-url-and-switch" value="context-menu-send-current-url-and-switch"><label for="context-menu-send-current-url-and-switch">Send the video URL to MeTube and switch to MeTube</label><br>
|
|
|
|
<h3>Additional sites</h3>
|
|
<p>Youtube-dl support <a href="https://github.com/ytdl-org/youtube-dl/blob/master/docs/supportedsites.md" target="_blank">many another sites</a> except youtube. You can add mask url's of this sites in textfield bellow but it can affect performance and we have not tested them support</p>
|
|
<p><textarea name="additional" id="additional" placeholder="https://vimeo.com/*
|
|
https://video.disney.com/*"></textarea></p>
|
|
<button type='submit'>Save settings</button>
|
|
<p id="saved" class="hidden">Settings saved!</p>
|
|
<p> </p>
|
|
</form>
|
|
</body>
|
|
<script src="options.js"></script>
|
|
</html>
|