diff options
author | BoHong Li <a60814billy@gmail.com> | 2018-06-12 11:35:31 +0800 |
---|---|---|
committer | BoHong Li <a60814billy@gmail.com> | 2018-06-12 11:35:31 +0800 |
commit | ee4c044d2746ffc3cb5bd5de5fe6eab6b336a11c (patch) | |
tree | 631b4f02194979879e2b15b9cdc180e55f54ba06 | |
parent | 0b09b8ee6fc2212aa15d0d81999448eea62050ca (diff) | |
download | plyr-ee4c044d2746ffc3cb5bd5de5fe6eab6b336a11c.tar.lz plyr-ee4c044d2746ffc3cb5bd5de5fe6eab6b336a11c.tar.xz plyr-ee4c044d2746ffc3cb5bd5de5fe6eab6b336a11c.zip |
fix: html5.cancelRequest not remove source tag correctly
-rw-r--r-- | src/js/html5.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/html5.js b/src/js/html5.js index fb2bc359..c828dfaf 100644 --- a/src/js/html5.js +++ b/src/js/html5.js @@ -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 |