Bug Report
When using view transitions, the CldVideoPlayer is only initialized when performing a full page refresh, but not when navigating to a page via the ClientRouter. This leads to the issue that the player is not visible and the video cannot be viewed.
Steps To Reproduce the error
- Create two pages (A and B) which both use the
CldVideoPlayer and add links from one page to another
- Activate view transitions by adding the
<ClientRouter /> to the head (see docs)
- Open page A, the player is initialized and the video can be played
- Navigate to page B, the player is not itialized and therefore the video cannot be played.
Expected behaviour
The video player should be initialized also when navigating to a page via the client router.
Your environment
Packages:
- astro: 5.4.2
- astro-cloudinary: 1.3.0
Other:
- OS: Windows 11
- Node version: 22
- Npm version: 10.9.2
- Browser name and version: Chrome,