What would be a good way to know that playback of video or audio has finished? The currentTime value jumps to 0 after file is finished so it's hard to know that we've reached the end.. Can we emit some JS event on AVPlayerItemDidPlayToEndTimeNotification?
What would be a good way to know that playback of video or audio has finished? The currentTime value jumps to 0 after file is finished so it's hard to know that we've reached the end.. Can we emit some JS event on
AVPlayerItemDidPlayToEndTimeNotification
?