Tencent / Tencent/libpag

play 报错找不到资源

Open
#2,371 0 comments 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Jul 16, 2024.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

【版本信息】

4.2.88

【平台信息】

Web 浏览器

【预期的表现】

正常加载

【实际的情况】

报错:
const playVideoElement = async videoElement => {
if (IS_WECHAT && window.WeixinJSBridge) {
await getWechatNetwork();
}
try {
await videoElement.play();
} catch (error) {
throw new Error(error.message);
}
};
image

【Demo及附件】

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.