Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

svgaplayerweb #57

Open
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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /