-
Notifications
You must be signed in to change notification settings - Fork 3
/
pref.html
132 lines (132 loc) · 3.15 KB
/
pref.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Document</title>
<style>
* {
box-sizing: border-box;
}
html {
margin: 0;
padding: 0;
}
body {
padding: 16px;
margin: 0;
font-size: 13px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
p {
margin: 0;
}
small,
.small {
font-size: 11px;
}
.secondary {
color: rgba(0, 0, 0, 0.5);
}
.pref-section {
margin-bottom: 12px;
}
.pref-help {
margin-top: 2px;
}
</style>
</head>
<body>
<div class="pref-section">
Use custom youtube-dl/yt-dlp:
<div style="margin-top: 2px">
<input
type="text"
data-pref-key="ytdl_path"
style="width: 100%; margin-top: 2px"
/>
</div>
</div>
<div class="pref-section">
Default video and audio quality:
<div style="margin-top: 4px; line-height: 24px">
<div>
<label
><input
type="radio"
name="video_quality"
value="best"
data-pref-key
/>
Best video and audio</label
>
</div>
<div>
<label
><input
type="radio"
name="video_quality"
value="use_max"
data-pref-key
/>
Video not larger than:</label
>
<input
type="number"
data-pref-key="max_video_height"
style="width: 4em"
/>
p
</div>
<div>
<label
><input
type="radio"
name="video_quality"
value="custom"
data-pref-key
/>
Custom youtube-dl format:</label
>
<input type="text" data-pref-key="custom_ytdl_format" />
</div>
</div>
</div>
<div class="pref-section">
<label>
Excluded URLs:
<div style="margin-top: 2px">
<input
type="text"
data-pref-key="excluded_urls"
style="width: 100%; margin-top: 2px"
/>
</div>
</label>
</div>
<div class="pref-section">
<label>
<input
type="checkbox"
data-type="bool"
data-pref-key="try_ytdl_first"
/>
Try youtube-dl first
</label>
<p class="small secondary pref-help">
Try parsing the URL with youtube-dl first, instead of the default where
it's only after mpv failed to open it.
</p>
</div>
<div class="pref-section">
<label>
<input type="checkbox" data-type="bool" data-pref-key="use_manifest" />
Use manifest URL
</label>
<p class="small secondary pref-help">
Use the master manifest URL for formats like HLS and DASH, if available,
allowing for video/audio selection in runtime.
</p>
</div>
</body>
</html>