🐛 The bug
Hi, I found this specific bug that occurs using layouts and having pageTransition and layoutTransition enabled in nuxt config. Then, you navigate between layouts and the last page has a video and is fetching something with useFetch, then, you try to play the video. The script loads, but the video doesn't play.

- Steps to reproduce: (It is recommended to open the preview in a new tab)
- Start the reproduction
- You must be on the index page
/
- Click
Go to Layout
- Try to play the video
- The script loads, but the video doesn't play
- Inspect the console and you must see the error
🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-aqvq3n
🌈 Expected behavior
The video in /video should be played after clicking it
ℹ️ Additional context
nuxt: 3.13.2
@nuxt/scripts: 0.9.4
Btw: this error doesn't occur if you enclose the script with <ClientOnly>
🐛 The bug
Hi, I found this specific bug that occurs using layouts and having
pageTransitionandlayoutTransitionenabled in nuxt config. Then, you navigate between layouts and the last page has a video and is fetching something withuseFetch, then, you try to play the video. The script loads, but the video doesn't play./Go to Layout🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-aqvq3n
🌈 Expected behavior
The video in /video should be played after clicking it
ℹ️ Additional context
nuxt: 3.13.2
@nuxt/scripts: 0.9.4
Btw: this error doesn't occur if you enclose the script with
<ClientOnly>