src/YouTube.js
function shouldResetPlayer(prevProps, props) {
  return !isEqual(
    filterResetOptions(prevProps.opts),
    filterResetOptions(props.opts),
  );
}
function shouldResetPlayer(prevProps, props) {
  return !isEqual(
    filterResetOptions(prevProps.opts),
    filterResetOptions(props.opts),
  );
}
function shouldResetPlayer ( prevProps , props ) { return ! isEqual ( filterResetOptions ( prevProps . opts ) , filterResetOptions ( props . opts ) , ) ; }
Check whether a `props` change should result in the player being reset.
The player is reset when the `props.opts` change, except if the only change
is in the `start` and `end` playerVars, because a video update can deal with
those.

@param {Object} prevProps
@param {Object} props
Check whether a props change should result in the player being reset . The player is reset when the props . opts change except if the only change is in the start and end playerVars because a video update can deal with those .