-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
mounted() {
this.player = new SVGA. Player(#${this.svgaId});
this.parser = new SVGA. Parser(#${this.svgaId});
this.loadSvgaAnimation();
},
methods: {
loadSvgaAnimation() {
this.parser.load(this.displayUrl, (videoItem) => {
this.player.setVideoItem(videoItem);
this.player.startAnimation();
console.log("开始播放");
});
},
} dusplayUrl 是一个cos的链接 我换成本地文件能正常播放 但是使用cos的链接就不能正常播放
ProgressEvent {isTrusted: true} 报了一个这样的错误 然后我看network 里面这个链接的加载状态是0 这是为什么呢
Metadata
Metadata
Assignees
Labels
No labels