Play or resume the video * @return {Promise} Promise that resolves when playback starts
()
| 1452 | /** Play or resume the video |
| 1453 | * @return {Promise} Promise that resolves when playback starts */ |
| 1454 | async play() |
| 1455 | { |
| 1456 | // try to play the video, catch any errors (autoplay may be blocked) |
| 1457 | try { await this.video.play(); } |
| 1458 | catch(e) {} |
| 1459 | } |
| 1460 | |
| 1461 | /** Pause the video */ |
| 1462 | pause() { this.video.pause(); } |
no outgoing calls
no test coverage detected