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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
4.2.88
iPhone15 ios17.0.3 safrai
正常展示
无法展示,并且无报错,目前只发现这个手机无法展示。整个项目中的所有 pag 在该机型上都无法展示
并且,我将 lite 里 create 的 video 组件挂载到页面上,其他机器上能展示并且播放这个资源,但是唯独这个机器上不行,因此应该是 coverToMp4 有问题
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <canvas id="pag"></canvas> <script src="https://cdn.jsdelivr.net/npm/libpag-lite@latest/lib/pag.min.js"></script> <script> window.onload = async () => { const { PAGView, types } = window.libpag; const arrayBuffer = await fetch('xxx.pag').then((res) => res.arrayBuffer()); const canvas = document.getElementById('pag'); canvas.width = 260; canvas.height = 260; const pagView = PAGView.init(arrayBuffer, canvas, { renderingMode: types.RenderingMode.Canvas }); pagView.play(); }; </script> </body> </html>
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
kevingpqi123
No branches or pull requests
【版本信息】
4.2.88
【平台信息】
iPhone15 ios17.0.3 safrai
【预期的表现】
正常展示
【实际的情况】
无法展示,并且无报错,目前只发现这个手机无法展示。整个项目中的所有 pag 在该机型上都无法展示
并且,我将 lite 里 create 的 video 组件挂载到页面上,其他机器上能展示并且播放这个资源,但是唯独这个机器上不行,因此应该是 coverToMp4 有问题
【Demo及附件】
The text was updated successfully, but these errors were encountered: