Skip to content
New issue

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

iOS 18 Safari 打开 demo 初始化报错 #2663

Open
mrzzcn opened this issue Jan 16, 2025 · 1 comment
Open

iOS 18 Safari 打开 demo 初始化报错 #2663

mrzzcn opened this issue Jan 16, 2025 · 1 comment
Assignees

Comments

@mrzzcn
Copy link

mrzzcn commented Jan 16, 2025

【版本信息】

libpag_4.4.20_web

【平台信息】

Web 浏览器

【预期的表现】

正常加载、播放

【实际的情况】

[Error] wasm streaming compile failed: LinkError: import function a:ic must be callable
(anonymous function) (libpag.umd.js:3350)
[Error] falling back to ArrayBuffer instantiation
(anonymous function) (libpag.umd.js:3351)
[Error] failed to asynchronously prepare wasm: LinkError: import function a:ic must be callable
(anonymous function) (libpag.umd.js:3341)
[Error] Aborted(LinkError: import function a:ic must be callable)
abort (libpag.umd.js:3302)
(anonymous function) (libpag.umd.js:3342)
[Error] RuntimeError: Aborted(LinkError: import function a:ic must be callable). Build with -sASSERTIONS for more info. — libpag.js:9:4200
(anonymous function) (libpag.umd.js:9188)
[Error] Unhandled Promise Rejection: Error: PAGInit fail! Please check .wasm file path valid.
(anonymous function) (index.html:55)

【Demo及附件】

使用cdn路径可以,但是自己的域名不行,源代码里面有注释掉的路径

iOS 18 Safari 打开
https://sr.aihuishou.com/c2b/zy-fe/public/test/pag/index.html?file=logo.pag

@mrzzcn
Copy link
Author

mrzzcn commented Jan 16, 2025

降低版本解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants