原文地址:Video 不支持微信小程序的show-bottom-progress属性-鹭娃网络
微信小程序
小程序基础库: 2.20.1
使用框架: React
import { Video} from '@tarojs/components';
渲染一个Video播放视频,无法隐藏手机屏幕最底部的进度条,即不支持属性show-bottom-progress = false
Video接受传入showBottomProgress属性
微信小程序官方文档video 支持show-bottom-progress属性
Videob=不接受传入showBottomProgress属性
Taro v3.5.1
Taro CLI 3.5.1 environment info:
System:
OS: macOS 12.4
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 18.7.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.15.0 - /usr/local/bin/npm
npmPackages:
@tarojs/cli: 3.5.1 => 3.5.1
@tarojs/components: 3.5.1 => 3.5.1
@tarojs/helper: 3.5.1 => 3.5.1
@tarojs/plugin-framework-react: 3.5.1 => 3.5.1
@tarojs/plugin-platform-alipay: 3.5.1 => 3.5.1
@tarojs/plugin-platform-jd: 3.5.1 => 3.5.1
@tarojs/plugin-platform-qq: 3.5.1 => 3.5.1
@tarojs/plugin-platform-swan: 3.5.1 => 3.5.1
@tarojs/plugin-platform-tt: 3.5.1 => 3.5.1
@tarojs/plugin-platform-weapp: 3.5.1 => 3.5.1
@tarojs/react: 3.5.1 => 3.5.1
@tarojs/router: 3.5.1 => 3.5.1
@tarojs/runtime: 3.5.1 => 3.5.1
@tarojs/shared: 3.5.1 => 3.5.1
@tarojs/taro: 3.5.1 => 3.5.1
@tarojs/taro-h5: 3.5.1 => 3.5.1
babel-preset-taro: 3.5.1 => 3.5.1
eslint-config-taro: 3.5.1 => 3.5.1
react: ^18.0.0 => 18.2.0
npmGlobalPackages:
typescript: 4.6.2
微信小程序
小程序基础库: 2.20.1
使用框架: React
import { Video} from '@tarojs/components';
渲染一个Video播放视频,无法隐藏手机屏幕最底部的进度条,即不支持属性show-bottom-progress = false
Video接受传入showBottomProgress属性
微信小程序官方文档video 支持show-bottom-progress属性
Videob=不接受传入showBottomProgress属性
Taro v3.5.1
Taro CLI 3.5.1 environment info:
System:
OS: macOS 12.4
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 18.7.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.15.0 - /usr/local/bin/npm
npmPackages:
@tarojs/cli: 3.5.1 => 3.5.1
@tarojs/components: 3.5.1 => 3.5.1
@tarojs/helper: 3.5.1 => 3.5.1
@tarojs/plugin-framework-react: 3.5.1 => 3.5.1
@tarojs/plugin-platform-alipay: 3.5.1 => 3.5.1
@tarojs/plugin-platform-jd: 3.5.1 => 3.5.1
@tarojs/plugin-platform-qq: 3.5.1 => 3.5.1
@tarojs/plugin-platform-swan: 3.5.1 => 3.5.1
@tarojs/plugin-platform-tt: 3.5.1 => 3.5.1
@tarojs/plugin-platform-weapp: 3.5.1 => 3.5.1
@tarojs/react: 3.5.1 => 3.5.1
@tarojs/router: 3.5.1 => 3.5.1
@tarojs/runtime: 3.5.1 => 3.5.1
@tarojs/shared: 3.5.1 => 3.5.1
@tarojs/taro: 3.5.1 => 3.5.1
@tarojs/taro-h5: 3.5.1 => 3.5.1
babel-preset-taro: 3.5.1 => 3.5.1
eslint-config-taro: 3.5.1 => 3.5.1
react: ^18.0.0 => 18.2.0
npmGlobalPackages:
typescript: 4.6.2
我试了原生的微信小程序,这个属性也没有效果,想要隐藏可以这样
show-fullscreen-btn="{{true}}" show-center-play-btn="{{true}}" show-play-btn="{{true}}" show-progress="{{false}}"
?