Merge pull request #1028 from a60814billy/fix/cancel-request-not-remove-source-tag-correctly

fix: html5.cancelRequest not remove source tag correctly
This commit is contained in:
Sam Potts 2018-06-13 00:03:24 +10:00 committed by GitHub
commit 70f3390ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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