Getting the player has been destroyed error frequently

bitmovinplayer.js:11 Uncaught

  1. t {code: 1001, name: ‘API_NOT_AVAILABLE’, sourceIdentifier: undefined, message: ‘Cannot use the player.getAvailableAudio API: the player has already been destroyed.’, data: undefined, …}

  2. code: 1001

  3. data: undefined

  4. message: “Cannot use the player.getAvailableAudio API: the player has already been destroyed.”

  5. name: “API_NOT_AVAILABLE”

  6. sourceIdentifier: undefined

  7. stack: "API_NOT_AVAILABLE: Cannot use the player.getAvailableAudio API: the player has already been destroyed.\n at r