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? 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
在 H5 页面中可以通过 VideoContext 实例操纵 video,实现和小程序一样的 API。
目前在项目中我只能通过 document.getElementById 拿到 video 标签,使用 HTML 标准的 play / pause,而且需要实现两遍。
源码的实现完全跑不起来,我提了一个 pr,可以简单运行,但是没有拉齐小程序的那些 API https://github.com/NervJS/taro/blob/next/packages/taro-h5/src/api/video/index.js#L85
尽可能与小程序平台上的 createVideoContext API 保持一致。
The text was updated successfully, but these errors were encountered:
已实现
Sorry, something went wrong.
No branches or pull requests
这个特性解决了什么问题?
在 H5 页面中可以通过 VideoContext 实例操纵 video,实现和小程序一样的 API。
目前在项目中我只能通过 document.getElementById 拿到 video 标签,使用 HTML 标准的 play / pause,而且需要实现两遍。
源码的实现完全跑不起来,我提了一个 pr,可以简单运行,但是没有拉齐小程序的那些 API
https://github.com/NervJS/taro/blob/next/packages/taro-h5/src/api/video/index.js#L85
这个 API 长什么样?
尽可能与小程序平台上的 createVideoContext API 保持一致。
The text was updated successfully, but these errors were encountered: