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

start_time gets overwritten by continue_time #409

Open
edward1127 opened this issue Jan 14, 2024 · 0 comments
Open

start_time gets overwritten by continue_time #409

edward1127 opened this issue Jan 14, 2024 · 0 comments

Comments

@edward1127
Copy link

edward1127 commented Jan 14, 2024

   import YouTube from "react-youtube";

    <YouTube
      opts={{ playerVars: { start: start } }}
      videoId={videoId}
    />

The code above can set the start time correctly. However, if the video has been watched before, the time will then be set to the previously watched continue_time. Does anyone know how to fix it?

In the below demo video, the time is correctly set to 7:33 at the beginning, but then it's set to the previously watched time at 4:14.

Screencast.from.01-13-2024.04.58.05.PM.webm
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