The video element (as well as the audio element) features an onPause event handler. In Svelte, we saw we can place `on:pause={someFunction}` on the video element. We can then add the code we need within that function. This might, for example, record the current playback position, storing the video element’s read only currentTime property.