mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 05:11:20 -08:00
refactor: Update video element in Artplayer to support custom canvas or video
This commit is contained in:
1 parent
5bbbaa398e
commit
52e424ad52
8 files changed
+54
-3
No files matched your search
@@ -297,6 +297,11 @@ function artplayerProxyWebAV() {
|
||||
});
|
||||
}
|
||||
async function init() {
|
||||
const isSupported = await (0, _avCliper.Combinator).isSupported();
|
||||
if (!isSupported) {
|
||||
art.notice.show = "WebAV is not supported";
|
||||
throw new Error("WebAV is not supported");
|
||||
}
|
||||
stop();
|
||||
reset();
|
||||
if (clip) {
|
||||
|
||||
Reference in new issue
Block a user