vidstack/player

Loop breaks if you pause the video

Opened this issue · 0 comments

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