Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop breaks if you pause the video #1542

Open
DowleyDeveloped opened this issue Dec 19, 2024 · 0 comments
Open

Loop breaks if you pause the video #1542

DowleyDeveloped opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DowleyDeveloped
Copy link

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

@DowleyDeveloped DowleyDeveloped added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant