HTML5 Media Error Routine

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/71100?pagenum=1
05 November 2025, 08:27

Topic


Carefree
HTML5 Media Error Routine
13 January 2016, 21:13


Apparently there's a networkstate value which will indicate 4 when a file is not found. How can I have it automatically read that value using vbscript/ASP(without the need for button click) and then submit a form or take another action? If it requires interaction, it's useless to me.

 

Replies ...


HuwR
14 January 2016, 06:00


you should be able to handle this in javascript with an onerror event
Carefree
14 January 2016, 07:35


Tried, but it didn't work.
HuwR
14 January 2016, 13:38


can you post your code
Carefree
14 January 2016, 16:20


No, it belongs to the government. Can't publish it. Was just hoping for an example written using vbscript/javascript that I could modify and integrate. The ones I've seen on the web and tried all either do nothing (e.g., onerror) or require user interaction (for which I could simply use a "report error" button).
© 2000-2021 Snitz™ Communications