For AI agents: the docs index is at https://inkrypt-videos.readme.io/llms.txt. Append .md to any documentation page URL to get its markdown version.
| Event | Description | Example |
|---|
load | The video is loaded | player.addEventListener('load', function() { /* ... */ }); |
play | The video is played | player.addEventListener('play', function() { /* ... */ }); |
pause | The video is paused | player.addEventListener('pause', function() { /* ... */ }); |
seeking | The user is changing the current time manually | player.addEventListener('seeking', function(event) { console.log(event.currentTime); }); |
ended | The video has ended | player.addEventListener('ended', function() { /* ... */ }); |
volumechange | The volume of the video is changed | player.addEventListener('volumechange', function(event) { console.log(event.value); }); |