Fix autoplay param & French pop-up title
This commit is contained in:
parent
598a3ebedb
commit
0f50b816be
|
@ -88,11 +88,11 @@
|
||||||
"description": "Boutton des options supplémentaires (pop-up)."
|
"description": "Boutton des options supplémentaires (pop-up)."
|
||||||
},
|
},
|
||||||
"privacy": {
|
"privacy": {
|
||||||
"message": "Vie privée",
|
"message": "Privacy",
|
||||||
"description": "Titre du module complémentaire - Vie privée (pop-up)."
|
"description": "Titre du module complémentaire - Vie privée (pop-up)."
|
||||||
},
|
},
|
||||||
"redirect": {
|
"redirect": {
|
||||||
"message": "Redirection",
|
"message": "Redirect",
|
||||||
"description": "Titre du module complémentaire - Redirection (pop-up)."
|
"description": "Titre du module complémentaire - Redirection (pop-up)."
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -264,9 +264,7 @@ function redirectYouTube(url, initiator, type) {
|
||||||
if (invidiousSubtitles) {
|
if (invidiousSubtitles) {
|
||||||
url.searchParams.append('subtitles', invidiousSubtitles);
|
url.searchParams.append('subtitles', invidiousSubtitles);
|
||||||
}
|
}
|
||||||
if (invidiousAutoplay) {
|
url.searchParams.append('autoplay', invidiousAutoplay ? 1 : 0);
|
||||||
url.searchParams.append('autoplay', invidiousAutoplay);
|
|
||||||
}
|
|
||||||
|
|
||||||
return `${invidiousInstance}${url.pathname}${url.search}`;
|
return `${invidiousInstance}${url.pathname}${url.search}`;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "__MSG_extensionName__",
|
"name": "__MSG_extensionName__",
|
||||||
"description": "__MSG_extensionDescription__",
|
"description": "__MSG_extensionDescription__",
|
||||||
"version": "1.1.35",
|
"version": "1.1.36",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"background": {
|
"background": {
|
||||||
"scripts": [
|
"scripts": [
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
<section class="settings-block">
|
<section class="settings-block">
|
||||||
<h1 data-localize="__MSG_invidiousPlayerStyle__">Invidious Player Style</h1>
|
<h1 data-localize="__MSG_invidiousPlayerStyle__">Invidious Player Style</h1>
|
||||||
<select id="invidious-player-style">
|
<select id="invidious-player-style">
|
||||||
<option value="invidious">Invidious</option>
|
<option value="">Invidious</option>
|
||||||
<option value="youtube">YouTube</option>
|
<option value="youtube">YouTube</option>
|
||||||
</select>
|
</select>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue