Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cancel video loading after destroying #883

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

Lanfei
Copy link
Contributor

@Lanfei Lanfei commented Dec 30, 2024

The video continues loading even after calling .destroy(), set the src attribute to an empty string to stop loading process.

调用.destory()后视频请求仍会继续加载,把src属性设置为空字符串来停止加载。

@zhw2590582 zhw2590582 merged commit a8458b0 into zhw2590582:master Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants