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

View File

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