var player = this._player;
if (player && player.readyState > player.HAVE_NOTHING) {
  player.pause();
 player.currentTime = 0;
}

More generally if you need to access a property more than one time, consider creating a temporary variable.