()
| 1513 | { this.video.currentTime = clamp(time, 0, this.getDuration()); } |
| 1514 | |
| 1515 | update() |
| 1516 | { |
| 1517 | super.update(); |
| 1518 | |
| 1519 | // update volume based on global sound volume |
| 1520 | this.video.volume = clamp(this.volume * soundVolume); |
| 1521 | } |
| 1522 | |
| 1523 | /** Render video to UI canvas */ |
| 1524 | render() |
no test coverage detected