Fix autoplay param & French pop-up title

This commit is contained in:
SimonBrazell 2020-07-13 21:47:40 +10:00
parent 598a3ebedb
commit 0f50b816be
4 changed files with 5 additions and 7 deletions

View File

@ -88,11 +88,11 @@
"description": "Boutton des options supplémentaires (pop-up)."
},
"privacy": {
"message": "Vie privée",
"message": "Privacy",
"description": "Titre du module complémentaire - Vie privée (pop-up)."
},
"redirect": {
"message": "Redirection",
"message": "Redirect",
"description": "Titre du module complémentaire - Redirection (pop-up)."
}
}

View File

@ -264,9 +264,7 @@ function redirectYouTube(url, initiator, type) {
if (invidiousSubtitles) {
url.searchParams.append('subtitles', invidiousSubtitles);
}
if (invidiousAutoplay) {
url.searchParams.append('autoplay', invidiousAutoplay);
}
url.searchParams.append('autoplay', invidiousAutoplay ? 1 : 0);
return `${invidiousInstance}${url.pathname}${url.search}`;
}

View File

@ -1,7 +1,7 @@
{
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "1.1.35",
"version": "1.1.36",
"manifest_version": 2,
"background": {
"scripts": [

View File

@ -172,7 +172,7 @@
<section class="settings-block">
<h1 data-localize="__MSG_invidiousPlayerStyle__">Invidious Player Style</h1>
<select id="invidious-player-style">
<option value="invidious">Invidious</option>
<option value="">Invidious</option>
<option value="youtube">YouTube</option>
</select>
</section>