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

getVideoData().isLive is false on Youtube live videos #1514

Open
blankart opened this issue Oct 2, 2022 · 0 comments
Open

getVideoData().isLive is false on Youtube live videos #1514

blankart opened this issue Oct 2, 2022 · 0 comments

Comments

@blankart
Copy link

blankart commented Oct 2, 2022

Current Behavior

getInternalPlayer().getVideoData().isLive is false even if the URL provided is live on youtube videos.

Expected Behavior

getInternalPlayer().getVideoData().isLive should be true if the youtube URL is a live video

Steps to Reproduce

  1. Set URL to https://www.youtube.com/watch?v=jfKfPfyJRdk
  2. get reactPlayerRef.current.getInternalPlayer().getVideoData().isLive

Environment

Other Information

I also noticed that the getDuration() method returns 0 on live videos as well

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