Skip to content

Invidious is an alternative front-end to YouTube

Player: Persist caption settings (#5417)

syeopiteb32b077a80aa
diff --cc assets/js/player.js
index 7e446eb0,cce0b030..10870915
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@@ -5,9 -5,7 +5,10 @@@ var video_data = JSON.parse(document.ge
var options = {
liveui: true,
playbackRates: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0],
+ fontPercent: [0.5, 0.75, 1.25, 1.5, 1.75, 2, 3, 4],
+ windowOpacity: ['0', '0.5', '1'],
+ textOpacity: ['0.5', '1'],
+ persistTextTrackSettings: true,
controlBar: {
children: [
'playToggle',