We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 这是为什么呢
#${this.svgaId}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 这是为什么呢
The text was updated successfully, but these errors were encountered: