Loop breaks if you pause the video
Current Behavior:
Using Vidstack with Javascript and Data attributes as props doesn't always work. We're using "data-autoplay", "data-muted", and "data-loop" on the main element (Vimeo Url). It will sometimes loop, but othertime will show the "More from" which comes from Vimeo itself.
We have a custom IntersectionObserver which pauses the video when it's out of view, and restarts when in view, and I feel like after the pause is when the loop is then ignored.
Expected Behavior:
The video should always loop.
Example
https://codepen.io/Charlie-Dowley/pen/VYZpGBz
Hi there, we are experiencing the same issue. It seems to happen at random with short videos (below 1min) while longer videos always fail to loop. We then tried to set "Loop" in Vimeo inside Interactivity > End screen option, it seems to work so far but sometimes we get a black screen at the end.
Hi @mihar-22. I'm experiencing the same issue on my end and made PR that would mitigate this issue. Any chance you can review and release the patch? https://github.com/vidstack/player/pull/1664