You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<aclass="buttonLink" href="https://addons.mozilla.org/en-GB/firefox/addon/random-youtube-video/" target="_blank" rel="noopener" title="Leave a review on the Firefox Add-Ons page"
<aclass="buttonLink" href="https://chromewebstore.google.com/detail/random-youtube-video/kijgnjhogkjodpakfmhgleobifempckf" target="_blank" rel="noopener" title="Leave a review on the Chrome Web Store">Chrome</a>
32
+
<aclass="buttonLink" href="https://addons.mozilla.org/en-GB/firefox/addon/random-youtube-video/" target="_blank" rel="noopener" title="Leave a review on the Firefox Add-Ons page">Firefox</a>
33
+
<aclass="buttonLink" href="https://microsoftedge.microsoft.com/addons/detail/random-youtube-video/fccfflipicelkilpmgniblpoflkbhdbe" target="_blank" rel="noopener" title="Leave a review on the Edge Add-Ons page">Edge</a>
50
34
<br/>
51
35
<br/>
52
36
</p>
@@ -69,15 +53,23 @@ <h1>Random YouTube Video</h1>
69
53
<br/>
70
54
<aclass="buttonLink" href="https://ko-fi.com/nikkelm" target="_blank" rel="noopener" title="Show your appreciation and support the development of the extension">Donate on Ko-Fi</a>
71
55
<pstyle="display: inline">or</p>
72
-
<aclass="buttonLink" href="https://github.com/sponsors/NikkelM" target="_blank" rel="noopener" title="Show your appreciation and support the development of the extension"
73
-
>Sponsor on GitHub</a
74
-
>
56
+
<aclass="buttonLink" href="https://github.com/sponsors/NikkelM" target="_blank" rel="noopener" title="Show your appreciation and support the development of the extension">Sponsor on GitHub</a>
<pclass="grey-text">Hover over an option to view a more detailed explanation.</p>
@@ -87,9 +79,7 @@ <h3>General Video Settings</h3>
87
79
<divclass="optionsRow">
88
80
<!-- Shuffling: Open in new tab option toggle -->
89
81
<divclass="toggle optionsRow-item">
90
-
<label
91
-
id="shuffleOpenInNewTabOption"
92
-
title="If this is enabled, shuffled videos will open in a new tab instead of the current one. This setting is ignored when using the shuffle button displayed in the popup, which will always open a new tab.">
82
+
<labelid="shuffleOpenInNewTabOption" title="If this is enabled, shuffled videos will open in a new tab instead of the current one. This setting is ignored when using the shuffle button displayed in the popup, which will always open a new tab.">
<pclass="displayInline" title="Choose if the extension should shuffle from all videos uploaded on the channel, ignore shorts, or shuffle only from shorts.">Shorts handling</p>
112
102
<!-- Dropdown menu START -->
113
-
<select
114
-
id="shuffleIgnoreShortsOptionDropdown"
115
-
class="displayInline"
116
-
title="Choose if the extension should shuffle from all videos uploaded on the channel, ignore shorts, or shuffle only from shorts.">
103
+
<selectid="shuffleIgnoreShortsOptionDropdown" class="displayInline" title="Choose if the extension should shuffle from all videos uploaded on the channel, ignore shorts, or shuffle only from shorts.">
117
104
<optionvalue="1" title="The extension will include both shorts and normal videos in the shuffle.">Include shorts</option>
118
105
<optionvalue="2" title="Shorts will be ignored when shuffling.">Ignore shorts</option>
119
106
<optionvalue="0" title="The extension will only shuffle from shorts uploaded on channels (normal videos are ignored).">Only shorts</option>
@@ -128,20 +115,15 @@ <h3>General Video Settings</h3>
128
115
<divclass="optionsRow">
129
116
<!-- Shuffling: Open as playlist option toggle -->
130
117
<divclass="toggle optionsRow-item">
131
-
<label
132
-
id="shuffleOpenAsPlaylistOption"
133
-
title="If this is enabled, shuffling will choose multiple videos and open a temporary playlist that contains these videos. Use the input field to the right to choose how many videos should be in that playlist.">
118
+
<labelid="shuffleOpenAsPlaylistOption" title="If this is enabled, shuffling will choose multiple videos and open a temporary playlist that contains these videos. Use the input field to the right to choose how many videos should be in that playlist.">
<!-- Shuffling: Open as playlist number of videos input -->
141
-
<div
142
-
id="shuffleNumVideosInPlaylistDiv"
143
-
class="optionsRow-item optionTextInput"
144
-
title="Choose how many videos should be in the playlist when shuffling. YouTube limits the number of videos in this playlist type to 50. With higher values the shuffle may take slightly longer than usual.">
126
+
<divid="shuffleNumVideosInPlaylistDiv" class="optionsRow-item optionTextInput" title="Choose how many videos should be in the playlist when shuffling. YouTube limits the number of videos in this playlist type to 50. With higher values the shuffle may take slightly longer than usual.">
<selectid="channelCustomOptionsDropdown" class="displayInline" title="Choose from one of the provided options in the dropdown to customize your shuffling experience on this channel.">
161
143
<optionvalue="allVideosOption" option-width="190px" title="No filters are applied, and a random video from all uploaded videos will be chosen.">all videos on this channel.</option>
162
144
<optionvalue="dateOption" option-width="205px" title="Only videos uploaded on or after the chosen date will be considered when shuffling.">videos uploaded after date:</option>
163
-
<optionvalue="videoIdOption" option-width="190px" title="Only videos uploaded on or after the day the video with the given ID was uploaded will be considered when shuffling.">
164
-
videos after video with ID:
165
-
</option>
166
-
<optionvalue="percentageOption" option-width="206px" title="Only the most recent X% of videos uploaded to the channel will be considered when shuffling.">
167
-
the most recent % of videos:
168
-
</option>
145
+
<optionvalue="videoIdOption" option-width="190px" title="Only videos uploaded on or after the day the video with the given ID was uploaded will be considered when shuffling.">videos after video with ID:</option>
146
+
<optionvalue="percentageOption" option-width="206px" title="Only the most recent X% of videos uploaded to the channel will be considered when shuffling.">the most recent % of videos:</option>
169
147
</select>
170
148
<!-- Dropdown menu END -->
171
149
<!-- Input fields per option START -->
172
-
<input
173
-
type="date"
174
-
class="hidden dateInput"
175
-
id="channelCustomOptionsDateOptionInput"
176
-
name="channelCustomOptionsDateOptionInput"
177
-
title="Only videos uploaded on or after the chosen date will be considered when shuffling." />
178
-
<input
179
-
type="text"
180
-
inputmode="text"
181
-
class="hidden youtubeIdInput"
182
-
maxlength="11"
183
-
id="channelCustomOptionsVideoIdOptionInput"
184
-
name="channelCustomOptionsVideoIdOptionInput"
185
-
title="Only videos uploaded on or after the day the video with the given ID was uploaded will be considered when shuffling."
186
-
placeholder="Enter Video ID" />
187
-
<input
188
-
type="number"
189
-
inputmode="numeric"
190
-
class="hidden displayInline numberInput noArrows"
191
-
max="100"
192
-
min="1"
193
-
id="channelCustomOptionsPercentageOptionInput"
194
-
name="channelCustomOptionsPercentageOptionInput"
195
-
title="Only the most recent X% of videos uploaded to the channel will be considered when shuffling." />
150
+
<inputtype="date" class="hidden dateInput" id="channelCustomOptionsDateOptionInput" name="channelCustomOptionsDateOptionInput" title="Only videos uploaded on or after the chosen date will be considered when shuffling." />
151
+
<inputtype="text" inputmode="text" class="hidden youtubeIdInput" maxlength="11" id="channelCustomOptionsVideoIdOptionInput" name="channelCustomOptionsVideoIdOptionInput" title="Only videos uploaded on or after the day the video with the given ID was uploaded will be considered when shuffling." placeholder="Enter Video ID" />
152
+
<inputtype="number" inputmode="numeric" class="hidden displayInline numberInput noArrows" max="100" min="1" id="channelCustomOptionsPercentageOptionInput" name="channelCustomOptionsPercentageOptionInput" title="Only the most recent X% of videos uploaded to the channel will be considered when shuffling." />
196
153
<pid="channelCustomOptionsPercentageOptionP" class="hidden displayInline" title="Only the most recent X% of videos uploaded to the channel will be considered when shuffling.">%</p>
197
154
<!-- Input fields per option END -->
198
155
</div>
@@ -236,13 +193,7 @@ <h3 title="These settings are for people with some technical knowledge. Don't wo
236
193
</div>
237
194
238
195
<pstyle="margin-top: 6px">Your custom API key:</p>
239
-
<input
240
-
type="text"
241
-
id="customApiKeyInputField"
242
-
name="customApiKeyInputField"
243
-
style="width: 80%"
244
-
title="Enter your YouTube API key here. It will not be shared with anyone."
245
-
placeholder="Enter API key here. It won't be shared with anyone." />
196
+
<inputtype="text" id="customApiKeyInputField" name="customApiKeyInputField" style="width: 80%" title="Enter your YouTube API key here. It will not be shared with anyone." placeholder="Enter API key here. It won't be shared with anyone." />
246
197
<br/>
247
198
<divid="customApiKeyInputInfoDiv" class="hidden">
248
199
<pid="customApiKeyInputInfoText"></p>
@@ -270,23 +221,9 @@ <h3 title="These settings are for people with some technical knowledge. Don't wo
<aclass="buttonLink" href="https://chromewebstore.google.com/detail/random-youtube-video/kijgnjhogkjodpakfmhgleobifempckf" target="_blank" rel="noopener" title="Leave a review on the Chrome Web Store">Chrome</a>
281
225
<aclass="buttonLink" href="https://addons.mozilla.org/en-GB/firefox/addon/random-youtube-video/" target="_blank" rel="noopener" title="Leave a review on the Firefox Add-Ons page">Firefox</a>
<aclass="buttonLink" href="https://microsoftedge.microsoft.com/addons/detail/random-youtube-video/fccfflipicelkilpmgniblpoflkbhdbe" target="_blank" rel="noopener" title="Leave a review on the Edge Add-Ons page">Edge</a>
290
227
<br/>
291
228
<aclass="buttonLink" href="https://github.com/NikkelM/Random-YouTube-Video" target="_blank" rel="noopener" title="View the source code or get into contact with the developer">GitHub</a>
292
229
<buttonclass="randomYoutubeVideoButton" id="viewChangelogButton" type="button" title="View the latest changes to the extension">Changelog</button>
0 commit comments