try catch not working in recursive function
问题 Objective What i am trying to do is catch the "Failed to load resource" error and put it in an alert window. Issue I am trying to catch a video that does not exist. Try catch is not catching the exception. Background I am trying to play through an array of videos, i continue to the next video when the previous one finishes. The issue is there wont always be a video for every element in the array. I have tried placing the try catch around just the play function. I have also tried placing the