react-youtube icon indicating copy to clipboard operation
react-youtube copied to clipboard

start_time gets overwritten by continue_time

Open edward1127 opened this issue 1 year ago • 1 comments

   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

edward1127 avatar Jan 14 '24 00:01 edward1127

google's issue: https://issuetracker.google.com/issues/336738725

AivarGabd avatar Jun 10 '24 03:06 AivarGabd