
Function if No Source?
If the player returns a "No Source" error, is there a prebuilt function so I can do a call of my choosing?
Cheers!
Ryan
If the player returns a "No Source" error, is there a prebuilt function so I can do a call of my choosing?
Cheers!
Ryan
Our player would either fire the on(‘error’) event or on(‘setupError’). Check both, update your URL, and then call setup() again.
You can also use the sources: [] block to define multiple sources for a video to make sure a “no source” scenario does not happen. At a minimum, I would suggest an HLS stream and an MP4.