mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
fix: cancel video loading after destroying (#883)
This commit is contained in:
1 parent
4b4973eeb3
commit
a8458b050b
1 file changed
+1
@@ -145,6 +145,7 @@ export default class Template {
|
||||
}
|
||||
|
||||
destroy(removeHtml) {
|
||||
this.$video.src = '';
|
||||
if (removeHtml) {
|
||||
this.$container.innerHTML = '';
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user