Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
_initStore
Method · 0.45
_watchVolume
Method · 0.45
Calls
1
_enqueue
Method · 0.45
Tested by
no test coverage detected