Skip to content

Commit

Permalink
Retain volume setting across all videos
Browse files Browse the repository at this point in the history
  • Loading branch information
owi92 committed Nov 7, 2023
1 parent 8b7a917 commit 795671d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions frontend/src/ui/player/Paella.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,19 @@ const PAELLA_CONFIG = {
hideOnMouseLeave: true,
},

preferences: {
currentSource: "dataPlugin",
sources: {
dataPlugin: {
context: "preferences",
},
},
},

videoContainer: {
restoreVolume: true,
},

plugins: {
"es.upv.paella.singleVideoDynamic": {
enabled: true,
Expand Down Expand Up @@ -384,6 +397,13 @@ const PAELLA_CONFIG = {
order: 9,
tabIndex: 9,
},

// Data plugin
"es.upv.paella.localStorageDataPlugin": {
"enabled": true,
"order": 0,
"context": ["default", "trimming"],
},
},
};

Expand Down

0 comments on commit 795671d

Please sign in to comment.