I am working on a backup engine for an HTML5 video player. I have a way to replace it with swfobject Flash player, but how do I determine if there are any problems?
In other words, if we use the following list of error events that can be selected, which one should trigger the replacement of the Flash player? Or are we just doing a replacement if any error occurs?
Also, where should the onError handler be called? Iām thinking about a video library, but I want to make sure. Your guidance is greatly appreciated. Thanks.
function failed(e) {
html5 flash html5-video
Alex
source share