mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-14 16:36:18 -08:00
- Introduced a new static property REMOVE_SRC_WHEN_DESTROY in Artplayer to control whether the video source should be removed when the player is destroyed. - Updated the destroy method in Artplayer to conditionally remove the video source based on the new property. - Removed the line that sets the video source to an empty string in the Template class's destroy method, as this is now handled in Artplayer. - Updated TypeScript definitions to include the new REMOVE_SRC_WHEN_DESTROY property.
ArtPlayer
🎨 ArtPlayer.js is a modern and full featured HTML5 video player
Github
https://github.com/zhw2590582/ArtPlayer
Home Page
License
MIT © Harvey Zack