Skip to content

Commit

Permalink
fix(player): watch supported check correctly in remote playback
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Jan 31, 2024
1 parent 4f76cbc commit 5b33c7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vidstack/src/providers/video/remote-playback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export abstract class VideoRemotePlaybackAdapter implements MediaRemotePlaybackA
}

private _watchSupported() {
if (!this._supported()) return;

const events = ['connecting', 'connect', 'disconnect'],
onStateChange = this._onStateChange.bind(this);

Expand Down

0 comments on commit 5b33c7a

Please sign in to comment.