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

Vidyard videos autoplay when set to playing={false} #887

Closed
iniq opened this issue May 14, 2020 · 0 comments
Closed

Vidyard videos autoplay when set to playing={false} #887

iniq opened this issue May 14, 2020 · 0 comments

Comments

@iniq
Copy link

iniq commented May 14, 2020

Current Behavior

When Vidyard videos are configured to autoplay by default, setting the player props to playing={false} does not prevent the behaviour. The video auto-plays on initialization.

Expected Behavior

When the player is set to playing={false}, expect the video to not auto-play.

Steps to Reproduce

  1. Create a video and player in Vidyard
  2. Set to autoplay = on
  3. Initialize a ReactPlayer with the Vidyard URL and the prop playing={false}

Environment

  • Browser: Any
  • Operating system: Any

Other Information

With the 2.0.1 code, autoplay for Vidyard can be stopped this way:

    <ReactPlayer
      playing={false}
      config={{
        options: { autoplay: 0 }
      }}
   />
Webmaster1116 added a commit to Webmaster1116/video-player that referenced this issue May 20, 2021
webmiraclepro added a commit to webmiraclepro/video-player that referenced this issue Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant