textmode.js / media / TextmodeVideo / volume
Method: volume()
ts
volume(level): this;Set playback volume.
Parameters
| Parameter | Type | Description |
|---|---|---|
level | number | Volume level from 0 to 1. Videos loaded through Textmodifier.loadVideo start muted to satisfy autoplay rules. Unmute the underlying videoElement in response to a user gesture before expecting audible volume changes. |
Returns
this