react-youtube
react-youtube copied to clipboard
Due to recent update, player unconditionally resets when videoId changes.
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.