Can we use jwplayer events 'setError' and 'error' both in code?
Hi ,
Player info:
JWplayer 7.8.1
Flash Not installed, HSL enabled
Here my question is, can we use 'setupError' and 'error' both for tracking errors related to setup and media errors separately.
my understanding is , setupError is for capture configuration related errors , whereas all media related errors will be capture using 'error' event.
has anybody phase any issue while using both.
Example:
playerInstance.on('setupError', function (event) {
// your code come here
}
playerInstance.on('error', function (event) {
// your code come here
}
I observed both events are triggering one by one because of which my error log keep increasing duplicate data,
Step to reproduce, refer latest jwplayer 7.8.1 document for setup embed code using javascript, uninstall flash from your system specifically on windows 7 and IE 11 browser, and reload the page.
Expected result : It will through setupError only .
am i doing something wrong here, please suggest.