Listen to the video event on the error element, and then check the video attribute or readyState attribute of the networkState element. If the loading fails, call the video method of the load() element. This method Just reload. Please refer to here for the specific values that will appear in those two states
Listen to the
video
event on theerror
element, and then check thevideo
attribute orreadyState
attribute of thenetworkState
element. If the loading fails, call thevideo
method of theload()
element. This method Just reload. Please refer to here for the specific values that will appear in those two states