I'm creating a list of videos which are played within a VideoView
.
I want to catch the "Sorry, this video can't be played" error and just move on to the next video. The video-switching is handled within a onCompletionListener
.
I already got the code for an onErrorListener
from here but I just can't find how to trigger the "video is complete" event.
Any ideas?