Captions style settings are not reapplied after navigation in Nuxt 3
Current Behavior:
If the Captions Text Background and other Style Settings have been changed and then the user navigates to a different page and then back to the player again, the Style Settings are not applied anymore.
Expected Behavior:
Re-apply the style setting from the local storage
Steps To Reproduce:
-
npm install
-
npm run dev
-
The Errors and Warning in the installation process can be ignored, as they are mostly from Nuxt UI in Stackblitz
-
Change the Captions Text Background Color and Opacity to something else
-
Use the button "Click here to navigate to a different page"
-
Go back again and use the button "Click here to go back"
-
Now the Caption Settings are not re-applied
Reproduction Link: https://stackblitz.com/edit/github-kftpc5r6?file=README.md
Environment:
Example:
- Framework: Vue / Nuxt
- Meta Framework: Nuxt v3.16.2
- Node: 23.7.0
- OS: Debian 12
- Browser: [email protected]
Is there any workaround for Nuxt 3? Any help would be appreciated!