HTML5 fallback when flash out of date and disabled by browser
I'd like to do HTML5 playback when a user's flash is out of date, rather than display the browser's native "flash out of date ->" button.
——> Is there a defined way to do this?
The setupError event is not called when the browser disables flash. The only way I can see to force html5 would be to do a timeout of a handful of seconds, waiting to see if the onReady callback has executed, and if it hasn’t, setup a new player with primary: ‘html5’.
This is kind of clumsy, and because initialization times vary, you have to do a long timeout of 5 seconds or more, during which the “flash out of date” widget is displayed.