Skip to content

Loop breaks if you pause the video #1542

@DowleyDeveloped

Description

@DowleyDeveloped

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions