player icon indicating copy to clipboard operation
player copied to clipboard

Captions style settings are not reapplied after navigation in Nuxt 3

Open Ponkhy opened this issue 9 months ago • 0 comments

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:

  1. npm install

  2. npm run dev

  3. The Errors and Warning in the installation process can be ignored, as they are mostly from Nuxt UI in Stackblitz

  4. Change the Captions Text Background Color and Opacity to something else

  5. Use the button "Click here to navigate to a different page"

  6. Go back again and use the button "Click here to go back"

  7. 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!

Ponkhy avatar Apr 16 '25 15:04 Ponkhy