Skip to content

Add autoplay to get around Chrome blocking and allow for programmatic control #99

Description

@jamesvclements

Webflow uses Embedly for their Video component and Lightbox component. Right now, there's no reliable way to programmatically control these videos using player.js, because Chrome blocks player.play() events until the user has interacted with it.

I've gotten around this directly using Vimeo embeds, making sure they're muted and allow autoplay. But there's no way to pass these parameters in for the native Webflow player and it doesn't seem like the player that embedly generates works either.

Is there any way to use player.play() before the user has interacted with the page / player?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions