Skip to content

Commit

Permalink
fix(player): volume setter prop not updating media state
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Jul 24, 2024
1 parent 73253ce commit cefeafc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vidstack/src/components/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ export class MediaPlayer
}

set muted(muted) {
this._$$props.muted.set(muted);
this._queueMutedUpdate(muted);
}

private _watchMuted() {
Expand Down Expand Up @@ -549,7 +549,7 @@ export class MediaPlayer
}

set volume(volume) {
this._$$props.volume.set(volume);
this._queueVolumeUpdate(volume);
}

private _watchVolume() {
Expand Down

0 comments on commit cefeafc

Please sign in to comment.