-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[BUG] Video 组件的 controls 等属性无效 #17152
Comments
#16903 提及的方法目前仍然可用。 $ yarn add @tarojs/plugin-inject 然后修改 [
'@tarojs/plugin-inject',
{
components: {
Video: {
/**
* 临时解决taro bug
* @fix https://github.com/NervJS/taro/issues/17152
* @todo ldl remove
*/
controls: false,
pageGesture: false,
showProgress: false,
showFullscreenBtn: false,
showPlayBtn: false,
showCenterPlayBtn: false,
enableProgressGesture: false,
showMuteBtn: false,
enablePlayGesture: false,
vslideGesture: false,
vslideGestureInFullscreen: false,
showBottomProgress: false,
},
},
},
]; |
18 tasks
This was referenced Jan 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/BH4HPA/taro-app-demo-video-component.git
小程序基础库: 3.7.2
使用框架: React
复现步骤
编译运行 可以直接重现
期望结果
视频不应该出现控制栏
微信小程序原生代码编译结果
实际结果
视频出现了控制栏
Taro React 编译结果
环境信息
The text was updated successfully, but these errors were encountered: