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

Add support for Twitch player variables. #343

Closed
casperOne opened this issue Mar 2, 2018 · 0 comments
Closed

Add support for Twitch player variables. #343

casperOne opened this issue Mar 2, 2018 · 0 comments

Comments

@casperOne
Copy link

casperOne commented Mar 2, 2018

Version: 1.2.1

From the documentation it seems that Twitch player variables are not supported yet:

https://discuss.dev.twitch.tv/t/embedded-player-set-start-time/7148

Specifically, I'm looking to set the start time of the video (a la YouTube). I imagine it would look something like this:

<ReactPlayer
  url="https://www.twitch.tv/videos/106400740"
  config={{
    twitch: {
      playerVars: {
        time: '30s'
      }
    }
  }}
/>

Note, I've tried that here, to no effect:

https://codesandbox.io/s/kopnz61ly7

@casperOne casperOne changed the title Add support for twitch player variables. Add support for Twitch player variables. Mar 2, 2018
david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this issue Dec 23, 2018
david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this issue May 23, 2020
albanqoku added a commit to albanqoku/react-player that referenced this issue Feb 24, 2021
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