Skip to content

Commit cefeafc

Browse files
committed
fix(player): volume setter prop not updating media state
1 parent 73253ce commit cefeafc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/vidstack/src/components/player.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ export class MediaPlayer
495495
}
496496

497497
set muted(muted) {
498-
this._$$props.muted.set(muted);
498+
this._queueMutedUpdate(muted);
499499
}
500500

501501
private _watchMuted() {
@@ -549,7 +549,7 @@ export class MediaPlayer
549549
}
550550

551551
set volume(volume) {
552-
this._$$props.volume.set(volume);
552+
this._queueVolumeUpdate(volume);
553553
}
554554

555555
private _watchVolume() {

0 commit comments

Comments
 (0)