MCPcopy Index your code
hub / github.com/vidstack/player / volume

Method volume

packages/vidstack/src/player/player.tsx:447–449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

445
446 @prop
447 get volume() {
448 return this._provider?.volume ?? 1;
449 }
450
451 set volume(volume) {
452 this._canPlayQueue._enqueue('volume', () => (this._provider!.volume = volume));

Callers 2

_initStoreMethod · 0.45
_watchVolumeMethod · 0.45

Calls 1

_enqueueMethod · 0.45

Tested by

no test coverage detected