Giter Site home page Giter Site logo

Comments (3)

domchen avatar domchen commented on May 22, 2024

Web版本大概在2021年中会支持,要排在PAG 4.0版本发布之后。

from libpag.

Zhaiaiguo518 avatar Zhaiaiguo518 commented on May 22, 2024

Web版本大概在2021年中会支持,要排在PAG 4.0版本以后发布。

你好,请问web版本在浏览器可以自动播放,但是在app和微信中报没有权限是因为什么原因?

from libpag.

zenoslin avatar zenoslin commented on May 22, 2024

Web版本大概在2021年中会支持,要排在PAG 4.0版本以后发布。

你好,请问web版本在浏览器可以自动播放,但是在app和微信中报没有权限是因为什么原因?

@Zhaiaiguo518 因为PAG Web版的视频序列帧使用了浏览器的Video标签的解码能力。
在微信App的浏览器中,在用户产生交互之前是不允许播放视频的,所以这个时候会跑错没有play权限。
这个规则不属于标准的Web规则,我们的SDK是根据Web标准编写的,所以会出现这种差异的情况。
针对特定的浏览器规则,我们建议是在业务侧去进行规避优化,例如先用静态图片占位,等用户交互后再使用PAG。

from libpag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.