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

Due to recent update, player unconditionally resets when videoId changes.

Open ynifamily3 opened this issue 3 years ago • 0 comments

Recently, when updating from version 7.13.1 to version 7.14.0, a phenomenon in which the player is reset whenever the videoId is changed has been found and reported.

It's usually fine to reset the player when the videoId changes, but you might not want to reset the player. If you say it's okay to put a flag that determines whether or not to reset the player as the videoId changes in props, I'll post a PR.

diff

ynifamily3 avatar Feb 28 '22 03:02 ynifamily3