diff --git a/language/.en.json b/language/.en.json index 26d9fef28..869192785 100644 --- a/language/.en.json +++ b/language/.en.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/af.json b/language/af.json index f49791854..6a2b94609 100644 --- a/language/af.json +++ b/language/af.json @@ -291,6 +291,10 @@ "label": "Verhoed vooruitspring in video", "description": "Aktivering van hierdie opsie sal gebruikernavigasiekontrole deur verstekkontroles deaktiveer." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deaktiveer klank", "description": "Aktivering van hierdie opsie sal die video se klank deaktiveer en verhoed dat dit aangeskakel kan word." diff --git a/language/ar.json b/language/ar.json index 87f252841..3d7a3f73c 100644 --- a/language/ar.json +++ b/language/ar.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/bg.json b/language/bg.json index bd7b2b304..88135146b 100644 --- a/language/bg.json +++ b/language/bg.json @@ -291,6 +291,10 @@ "label": "Предотвратяване на прескачането напред във видеото", "description": "Активирането на тези опции ще деактивира видео навигацията на потребителя чрез контроли по подразбиране." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Изключване на звука", "description": "Активирането на тази опция ще дезактивира звука на видеото и ще предотврати включването му." diff --git a/language/bn.json b/language/bn.json index db9a990cc..08e772656 100644 --- a/language/bn.json +++ b/language/bn.json @@ -291,6 +291,10 @@ "label": "ভিডিওর কিছু অংশ না দেখে সামনে যাওয়া বন্ধ করো", "description": "এই অপশন সক্রিয় করা হলে ব্যবহারকারী ভিডিও কনট্রোল ব্যবহার করে সামনে যেতে পারবে না।" }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "শব্দ নিষ্ক্রিয় করো", "description": "এই অপশন সক্রিয় করা হলে ভিডিওর শব্দ নিষ্ক্রিয় হবে এবং সেই শব্দকে আবার চালু করা যাবে না।" @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/bs.json b/language/bs.json index 7eba4e080..340518a5c 100644 --- a/language/bs.json +++ b/language/bs.json @@ -291,6 +291,10 @@ "label": "Spriječi premotavnje naprijed u videu", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deaktiviraj zvuk", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." diff --git a/language/ca.json b/language/ca.json index 4c890f852..525c4754b 100644 --- a/language/ca.json +++ b/language/ca.json @@ -291,6 +291,10 @@ "label": "Impedeix avançar el vídeo", "description": "Si habiliteu aquesta opció es desactivarà la navegació de vídeo de l’usuari mitjançant controls predeterminats." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Desactiva el so", "description": "Si habiliteu aquesta opció, es desactivarà el so del vídeo i no es podrà activar." diff --git a/language/cs.json b/language/cs.json index 78d58560d..2bb73bb36 100644 --- a/language/cs.json +++ b/language/cs.json @@ -291,6 +291,10 @@ "label": "Zabránit přeskakování videa dopředu", "description": "Povolením této možnosti zakážete navigaci uživatele videa pomocí výchozích ovládacích prvků." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deaktivovat zvuk", "description": "Povolením této možnosti deaktivujete zvuk videa a zabráníte jeho zapnutí." diff --git a/language/da.json b/language/da.json index b165bb56d..509f368e6 100644 --- a/language/da.json +++ b/language/da.json @@ -291,6 +291,10 @@ "label": "Undgå at spole frem i en video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deaktiver lyd", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/de.json b/language/de.json index d52901664..a4c26186d 100644 --- a/language/de.json +++ b/language/de.json @@ -291,6 +291,10 @@ "label": "Springen deaktivieren", "description": "Wenn ausgewählt, muss der Lernende das Video anschauen, ohne selbst an andere Stellen springen zu können." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Ton deaktivieren", "description": "Auswählen, um die Audio-Ausgabe zu deaktivieren." diff --git a/language/el.json b/language/el.json index 1ea67f5f9..ca75847fc 100644 --- a/language/el.json +++ b/language/el.json @@ -291,6 +291,10 @@ "label": "Να μην επιτρέπεται η παράκαμψη ενός τμήματος του βίντεο", "description": "Η ενεργοποίηση αυτής της επιλογής θα απενεργοποιήσει την πλοήγηση του χρήστη στο βίντεο μέσω των προεπιλεγμένων κουμπιών." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Απενεργοποίηση ήχου", "description": "Η ενεργοποίηση αυτής της επιλογής θα απενεργοποιήσει τον ήχο του βίντεο και θα αποτρέψει την ενεργοποίησή του." diff --git a/language/es-mx.json b/language/es-mx.json index a5dd643da..ee69577b3 100644 --- a/language/es-mx.json +++ b/language/es-mx.json @@ -289,6 +289,10 @@ "label": "Evitar que se salte hacia adelante en el vídeo", "description": "Al habilitar esta opción se deshabilitará la navegación del video del usuario por medio de controles predeterminados." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Desactivar sonido", "description": "Habilitar esta opción desactiva el sonido del vídeo y evitará que se active." diff --git a/language/es.json b/language/es.json index 81ede97f6..fa1ebef79 100644 --- a/language/es.json +++ b/language/es.json @@ -289,6 +289,10 @@ "label": "Evitar que se salte hacia adelante en el vídeo", "description": "Al habilitar esta opción se deshabilitará la navegación del video del usuario por medio de controles predeterminados." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Desactivar sonido", "description": "Habilitar esta opción desactiva el sonido del vídeo y evitará que se active." diff --git a/language/et.json b/language/et.json index ab12c0955..3fbd1fdd4 100644 --- a/language/et.json +++ b/language/et.json @@ -291,6 +291,10 @@ "label": "Keela videos edasikerimine", "description": "Selle võimaluse lubamisel keelatakse kasutajal vaikejuhtnuppudega navigeerimine." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Vaigista heli", "description": "Selle valikuga vaigistatakse video heli nii, et kasutaja ei saa seda sisse lülitada." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/eu.json b/language/eu.json index c72b8b836..b2ad187af 100644 --- a/language/eu.json +++ b/language/eu.json @@ -291,6 +291,10 @@ "label": "Galerazi bideoan aurrera jauzi egitea", "description": "Aukera hau aktibatuta desgaitzen dira nabigazio ohiko kontrolak." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Desgaitu soinua", "description": "Aukera hau aktibatuta bideoaren soinua desaktibatzen da eta galerazten da martxan jartzea." diff --git a/language/fa.json b/language/fa.json index aba5eb451..539ffc88b 100644 --- a/language/fa.json +++ b/language/fa.json @@ -291,6 +291,10 @@ "label": "جلوگیری از پرش به جلو در ویدئو", "description": "فعال‌سازی این گزینه، پیمایش ویدئو توسط کاربر را از طریق کنترل‌های پیش‌فرض غیرفعال خواهد کرد." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "غیرفعال کردن صدا", "description": "فعال‌سازی این گزینه صدای ویدئو را غیرفعال خواهد کرد و مانع روشن شدن آن خواهد شد." diff --git a/language/fi.json b/language/fi.json index 75bde126c..97dc73167 100644 --- a/language/fi.json +++ b/language/fi.json @@ -291,6 +291,10 @@ "label": "Estä videossa eteenpäin hyppiminen", "description": "Tämän valinta estää käyttäjän navigoinnnin videossa oletusohjaimilla." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Estä ääni", "description": "Tämä valinta estää äänen ja sen kytkemisen päälle." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/fr.json b/language/fr.json index c495e8a9c..23e13108f 100644 --- a/language/fr.json +++ b/language/fr.json @@ -291,6 +291,10 @@ "label": "Empêcher de sauter en avant dans la vidéo", "description": "Cette option empêchera les utilisateurs de naviguer au sein de la video" }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Désactiver le son", "description": "Cette option désactive le son de la vidéo." diff --git a/language/gl.json b/language/gl.json index 247158c6c..16edf04ab 100644 --- a/language/gl.json +++ b/language/gl.json @@ -289,6 +289,10 @@ "label": "Impedir o salto cara adiante no vídeo", "description": "Esta opción impide que o usuario se mova polo vídeo usando os controles de navegación por defecto." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Desactivar son", "description": "Esta opción desactiva o son do vídeo e impide que se poda activar." diff --git a/language/he.json b/language/he.json index 3a510cbb9..48c4b9162 100644 --- a/language/he.json +++ b/language/he.json @@ -291,6 +291,10 @@ "label": "מנעו דילוג קדימה בסרטון", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "כיבוי שמע", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." diff --git a/language/hr.json b/language/hr.json index 475e32f28..6610071f1 100644 --- a/language/hr.json +++ b/language/hr.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/hu.json b/language/hu.json index c416ddea1..24c6312d4 100644 --- a/language/hu.json +++ b/language/hu.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/it.json b/language/it.json index 18edd2337..bcb76d3d6 100644 --- a/language/it.json +++ b/language/it.json @@ -291,6 +291,10 @@ "label": "Impedisci di saltare avanti in un video", "description": "Abilitare questa opzione disattiverà la navigazione dei video da parte dell'utente attraverso i controlli predefiniti" }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Disattiva il sonoro", "description": "Abilitare questa opzione disattiverà il sonoro di un video e ne impedirà l'accensione" diff --git a/language/ja.json b/language/ja.json index d9453f3ff..23087465a 100644 --- a/language/ja.json +++ b/language/ja.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "サウンド無効化", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/ka.json b/language/ka.json index 26d9fef28..2c19620e6 100644 --- a/language/ka.json +++ b/language/ka.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." diff --git a/language/km.json b/language/km.json index fdd48920e..0e5a295b6 100644 --- a/language/km.json +++ b/language/km.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." diff --git a/language/ko.json b/language/ko.json index ca090aa08..48755d78d 100644 --- a/language/ko.json +++ b/language/ko.json @@ -291,6 +291,10 @@ "label": "비디오에서 앞으로 건너뛰기 방지", "description": "이 옵션을 활성화하면 기본 컨트롤을 통해 사용자 비디오 탐색이 비활성화됨." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "사운드 비활성화", "description": "이 옵션을 활성화하면 동영상의 사운드가 비활성화되고 소리가 켜지지 않게 됨." diff --git a/language/lv.json b/language/lv.json index 1ec9dd218..81bec005c 100644 --- a/language/lv.json +++ b/language/lv.json @@ -291,6 +291,10 @@ "label": "Novērsiet pārlēkšanu uz priekšu videoklipā", "description": "Šīs opcijas ieslēgšana lietotājam atspējos video navigāciju ar noklusējuma vadīklām." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Atslēgt skaņu", "description": "Šīs opcijas aktivizēšana, atslēgs videoklipa skaņu un liegs tās ieslēgšanu." diff --git a/language/nb.json b/language/nb.json index f9c8b5c9c..2599fbbe4 100644 --- a/language/nb.json +++ b/language/nb.json @@ -291,6 +291,10 @@ "label": "Unngå at brukere hopper over innhold i video", "description": "Slå på for å nekte at brukere hopper over innhold i video ved hjelp av standard kontrollere." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deaktiver lyd", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/nl.json b/language/nl.json index 87b44fa55..5c73a812f 100644 --- a/language/nl.json +++ b/language/nl.json @@ -291,6 +291,10 @@ "label": "Voorkom voorwaartse navigatie in een video", "description": "Met deze opties ingeschakeld, kan een gebruiker niet door de video scrollen met de standaard knoppen." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Geluid uitschakelen", "description": "Met deze optie wordt het geluid van de video uitgeschakeld en kan het niet worden ingeschakeld." diff --git a/language/nn.json b/language/nn.json index 2d5cef896..2883e5b83 100644 --- a/language/nn.json +++ b/language/nn.json @@ -291,6 +291,10 @@ "label": "Unngå at brukere hopper over innhold i video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deaktiver lyd", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." diff --git a/language/pl.json b/language/pl.json index a88950697..ce2ca2162 100644 --- a/language/pl.json +++ b/language/pl.json @@ -291,6 +291,10 @@ "label": "Zapobiegaj przeskakiwaniu do przodu", "description": "Włączenie tej opcji uniemożliwi widzowi używanie paska postępu do zmiany odtwarzanego fragmentu wideo." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Wyłącz dźwięk", "description": "Włączenie tej opcji wyłączy ścieżkę dźwiękową i uniemożliwi jej włączenie." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/pt-br.json b/language/pt-br.json index 50a1431d6..41eebfc2b 100644 --- a/language/pt-br.json +++ b/language/pt-br.json @@ -289,6 +289,10 @@ "label": "Evitar pular para frente em um vídeo", "description": "Ativar esta opção irá desativar a navegação através dos controles padrões de vídeo do usuário." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Desativar o som", "description": "Ativar esta opção removerá o som do vídeo e não permitirá que o som seja ligado." diff --git a/language/pt.json b/language/pt.json index 638add219..0518667de 100644 --- a/language/pt.json +++ b/language/pt.json @@ -291,6 +291,10 @@ "label": "Evitar saltar para frente no vídeo", "description": "Ativar esta opção desativará a navegação no vídeo através dos controlos predefinidos." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Desativar som", "description": "Ativar esta opção desativará o som do vídeo e impedirá que seja ligado." diff --git a/language/ru.json b/language/ru.json index 9c3fb0c0a..5c93f7edd 100644 --- a/language/ru.json +++ b/language/ru.json @@ -291,6 +291,10 @@ "label": "Предотвратить перемотку вперед в видео", "description": "Включение этой опции отключит навигацию пользователя по видео с помощью элементов управления по умолчанию." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Отключить звук", "description": "Включение этого параметра отключит звук видео и предотвратит его включение." diff --git a/language/sl.json b/language/sl.json index f9edb867b..51695ffbf 100644 --- a/language/sl.json +++ b/language/sl.json @@ -291,6 +291,10 @@ "label": "Prepreči preskok naprej", "description": "Z onemogočenimi kontrolniki za predvajanje videoposnetka bo možen le ogled v enem kosu." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Onemogoči zvok", "description": "Videoposnetek se bo predvajal v nemem načinu." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/sma.json b/language/sma.json index 26d9fef28..869192785 100644 --- a/language/sma.json +++ b/language/sma.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/sme.json b/language/sme.json index 26d9fef28..869192785 100644 --- a/language/sme.json +++ b/language/sme.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/smj.json b/language/smj.json index 26d9fef28..869192785 100644 --- a/language/smj.json +++ b/language/smj.json @@ -291,6 +291,10 @@ "label": "Prevent skipping forward in a video", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Deactivate sound", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/sv.json b/language/sv.json index eb2742b36..00e3dc602 100644 --- a/language/sv.json +++ b/language/sv.json @@ -291,6 +291,10 @@ "label": "Förhindra att spola framåt i video", "description": "Om du väljer denna inställning så inaktiveras möjligheten för användare att navigera i video med standardkontroller." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Inaktivera ljud", "description": "Om du väljer denna inställning så inaktiveras ljudet i videon och möjligheten för användare att slå på ljud förhindras." diff --git a/language/tr.json b/language/tr.json index 7f107f4ce..a9f4af6d2 100644 --- a/language/tr.json +++ b/language/tr.json @@ -291,6 +291,10 @@ "label": "Videoda ileri atlamayı önle", "description": "Bu seçenek seçildiğinde kullanıcıya varsayılan video kontrolleri etkisiz kılınacaktır." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "Sesi devre dışı bırak", "description": "Bu seçenek seçildiğinde videonun sesi devre dışı bırakılacak ve açılması önlenecektir." diff --git a/language/zh-cn.json b/language/zh-cn.json index 2596f95c5..4d10cd12e 100644 --- a/language/zh-cn.json +++ b/language/zh-cn.json @@ -291,6 +291,10 @@ "label": "防止跳播影片", "description": "勾选后,会停用影片的时间巡览功能。用戶就不能在播放时跳过影片片段。" }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "关闭影片音量", "description": "勾选后,会关闭影片的声音。用戶就不能在播放时间启用影片声音。" diff --git a/language/zh-hans.json b/language/zh-hans.json index 774650c00..20de329cb 100644 --- a/language/zh-hans.json +++ b/language/zh-hans.json @@ -291,6 +291,10 @@ "label": "防止跳播影片", "description": "勾选后,会停用影片的时间巡览功能。用戶就不能在播放时跳过影片片段。" }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "关闭影片音量", "description": "勾选后,会关闭影片的声音。用戶就不能在播放时间启用影片声音。" @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/zh-hant.json b/language/zh-hant.json index d9c56df49..22f34de6e 100644 --- a/language/zh-hant.json +++ b/language/zh-hant.json @@ -291,6 +291,10 @@ "label": "防止跳播影片", "description": "勾選後,會停用影片的時間巡覽功能。用戶就不能在播放時跳過影片片段。" }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "關閉影片音量", "description": "勾選後,會關閉影片的聲音。用戶就不能在播放時開啟影片聲音。" @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/language/zh-tw.json b/language/zh-tw.json index a21bfb871..a2a4bd1f6 100644 --- a/language/zh-tw.json +++ b/language/zh-tw.json @@ -291,6 +291,10 @@ "label": "影像中不能點擊跳過", "description": "啟用此選項時,使用者將不能任意跳換." }, + { + "label": "Hide playback rate chooser", + "description": "Enabling this option will hide the playback rate chooser." + }, { "label": "關閉聲音", "description": "啟用此選項時將關閉影片的聲音,且無法再被開啟聲音" @@ -482,4 +486,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/semantics.json b/semantics.json index 83fb52a3e..725e8dc63 100644 --- a/semantics.json +++ b/semantics.json @@ -723,6 +723,14 @@ "importance": "low", "description": "Enabling this options will disable user video navigation through default controls." }, + { + "name": "deactivatePlaybackRateChooser", + "type": "boolean", + "default": false, + "label": "Hide playback rate chooser", + "importance": "low", + "description": "Enabling this option will hide the playback rate chooser." + }, { "name": "deactivateSound", "type": "boolean", diff --git a/src/scripts/interactive-video.js b/src/scripts/interactive-video.js index 84307cc75..1f76ba0e6 100644 --- a/src/scripts/interactive-video.js +++ b/src/scripts/interactive-video.js @@ -110,6 +110,7 @@ function InteractiveVideo(params, id, contentData) { self.showRewind10 = (params.override.showRewind10 !== undefined ? params.override.showRewind10 : false); self.showBookmarksmenuOnLoad = (params.override.showBookmarksmenuOnLoad !== undefined ? params.override.showBookmarksmenuOnLoad : false); self.preventSkipping = params.override.preventSkipping || false; + self.deactivatePlaybackRateChooser = params.override.deactivatePlaybackRateChooser || false; self.deactivateSound = params.override.deactivateSound || false; } // Translated UI text defaults @@ -351,7 +352,9 @@ function InteractiveVideo(params, id, contentData) { // Qualities might not be available until after play. self.addQualityChooser(); - self.addPlaybackRateChooser(); + if (this.deactivatePlaybackRateChooser !== true) { + self.addPlaybackRateChooser(); + } // Make sure splash screen is removed. self.removeSplash(); @@ -437,15 +440,17 @@ function InteractiveVideo(params, id, contentData) { } }); - self.video.on('playbackRateChange', function (event) { - var playbackRate = event.data; - // Firefox fires a "ratechange" event immediately upon changing source, at this - // point controls has not been initialized, so we must check for controls - if (self.controls && self.controls.$playbackRateChooser) { - // Update playbackRate selector - self.controls.$playbackRateChooser.find('li').attr('aria-checked', 'false').filter('[playback-rate="' + playbackRate + '"]').attr('aria-checked', 'true'); - } - }); + if (self.deactivatePlaybackRateChooser !== true) { + self.video.on('playbackRateChange', function (event) { + var playbackRate = event.data; + // Firefox fires a "ratechange" event immediately upon changing source, at this + // point controls has not been initialized, so we must check for controls + if (self.controls && self.controls.$playbackRateChooser) { + // Update playbackRate selector + self.controls.$playbackRateChooser.find('li').attr('aria-checked', 'false').filter('[playback-rate="' + playbackRate + '"]').attr('aria-checked', 'true'); + } + }); + } // Handle entering fullscreen self.on('enterFullScreen', function () { @@ -705,7 +710,7 @@ InteractiveVideo.prototype.attach = function ($container) { // 'video only' fallback has no interactions let isAnswerable = this.hasMainSummary(); - + if (this.interactions) { // interactions require parent $container, recreate with input this.interactions.forEach(function (interaction) { @@ -2100,47 +2105,49 @@ InteractiveVideo.prototype.attachControls = function ($wrapper) { self.closePopupMenus(); }); - // Add popup for selecting playback rate - self.controls.$playbackRateChooser = H5P.jQuery('
', { - 'class': 'h5p-chooser h5p-playbackRate', - 'role': 'dialog', - html: `

${self.l10n.playbackRate}

`, - }); - self.popupMenuChoosers.push(self.controls.$playbackRateChooser); + if (self.deactivatePlaybackRateChooser !== true) { + // Add popup for selecting playback rate + self.controls.$playbackRateChooser = H5P.jQuery('
', { + 'class': 'h5p-chooser h5p-playbackRate', + 'role': 'dialog', + html: `

${self.l10n.playbackRate}

`, + }); + self.popupMenuChoosers.push(self.controls.$playbackRateChooser); - const closePlaybackRateMenu = () => { - if (self.isMinimal) { - self.controls.$more.click(); - } - else { - self.controls.$playbackRateButton.click(); - } - self.resumeVideo(); - }; + const closePlaybackRateMenu = () => { + if (self.isMinimal) { + self.controls.$more.click(); + } + else { + self.controls.$playbackRateButton.click(); + } + self.resumeVideo(); + }; - // Adding close button to playback rate-menu - self.controls.$playbackRateChooser.append($('', { - 'role': 'button', - 'class': 'h5p-chooser-close-button', - 'tabindex': '0', - 'aria-label': self.l10n.close, - click: () => closePlaybackRateMenu(), - keydown: event => { - if (isSpaceOrEnterKey(event)) { - closePlaybackRateMenu(); - event.preventDefault(); + // Adding close button to playback rate-menu + self.controls.$playbackRateChooser.append($('', { + 'role': 'button', + 'class': 'h5p-chooser-close-button', + 'tabindex': '0', + 'aria-label': self.l10n.close, + click: () => closePlaybackRateMenu(), + keydown: event => { + if (isSpaceOrEnterKey(event)) { + closePlaybackRateMenu(); + event.preventDefault(); + } } - } - })); + })); - // Button for opening video playback rate selection dialog - self.controls.$playbackRateButton = self.createButton('playbackRate', 'h5p-control', $right, createPopupMenuHandler('$playbackRateButton', '$playbackRateChooser')); - self.popupMenuButtons.push(self.controls.$playbackRateButton); - self.setDisabled(self.controls.$playbackRateButton); - self.controls.$playbackRateButton.attr('aria-haspopup', 'true'); - self.controls.$playbackRateButton.attr('aria-expanded', 'false'); + // Button for opening video playback rate selection dialog + self.controls.$playbackRateButton = self.createButton('playbackRate', 'h5p-control', $right, createPopupMenuHandler('$playbackRateButton', '$playbackRateChooser')); + self.popupMenuButtons.push(self.controls.$playbackRateButton); + self.setDisabled(self.controls.$playbackRateButton); + self.controls.$playbackRateButton.attr('aria-haspopup', 'true'); + self.controls.$playbackRateButton.attr('aria-expanded', 'false'); - self.controls.$playbackRateChooser.insertAfter(self.controls.$playbackRateButton); + self.controls.$playbackRateChooser.insertAfter(self.controls.$playbackRateButton); + } // Add volume button control (toggle mute) if (!isAndroid() && !isIpad()) { @@ -2258,21 +2265,22 @@ InteractiveVideo.prototype.attachControls = function ($wrapper) { self.controls.$qualityButtonMinimal.attr('role', 'menuitem'); self.controls.$overlayButtons = self.controls.$overlayButtons.add(self.controls.$qualityButtonMinimal); self.minimalMenuKeyboardControls.addElement(self.controls.$qualityButtonMinimal.get(0)); - - // Playback rate - self.controls.$playbackRateButtonMinimal = self.createButton('playbackRate', 'h5p-minimal-button', $minimalWrap, function () { - if (!self.isDisabled(self.controls.$playbackRateButton)) { - self.controls.$overlayButtons.addClass('h5p-hide'); - self.controls.$playbackRateButton.click(); - } - }, true); - self.controls.$playbackRateButtonMinimal.attr('role', 'menuitem'); - self.setDisabled(self.controls.$playbackRateButtonMinimal); - self.controls.$overlayButtons = self.controls.$overlayButtons.add(self.controls.$playbackRateButtonMinimal); - self.minimalMenuKeyboardControls.addElement(self.controls.$playbackRateButtonMinimal.get(0)); - self.addQualityChooser(); - self.addPlaybackRateChooser(); + + if (self.deactivatePlaybackRateChooser !== true) { + // Playback rate + self.controls.$playbackRateButtonMinimal = self.createButton('playbackRate', 'h5p-minimal-button', $minimalWrap, function () { + if (!self.isDisabled(self.controls.$playbackRateButton)) { + self.controls.$overlayButtons.addClass('h5p-hide'); + self.controls.$playbackRateButton.click(); + } + }, true); + self.controls.$playbackRateButtonMinimal.attr('role', 'menuitem'); + self.setDisabled(self.controls.$playbackRateButtonMinimal); + self.controls.$overlayButtons = self.controls.$overlayButtons.add(self.controls.$playbackRateButtonMinimal); + self.minimalMenuKeyboardControls.addElement(self.controls.$playbackRateButtonMinimal.get(0)); + self.addPlaybackRateChooser(); + } self.interactionKeyboardControls = new Controls([new UIKeyboard()]);