fix: html5.cancelRequest not remove source tag correctly

This commit is contained in:
BoHong Li 2018-06-12 11:35:31 +08:00
parent 0b09b8ee6f
commit ee4c044d27
No known key found for this signature in database
GPG Key ID: 9696D5590D58290F

View File

@ -91,7 +91,7 @@ const html5 = {
}
// Remove child sources
utils.removeElement(html5.getSources());
utils.removeElement(html5.getSources.call(this));
// Set blank video src attribute
// This is to prevent a MEDIA_ERR_SRC_NOT_SUPPORTED error