小程序使用video播放m3u8格式的監(jiān)控
期望實現(xiàn)的效果:只有全屏按鈕,不顯示進度條
最開始使用的屬性是: show-bottom-progress,但是發(fā)現(xiàn)此屬性值只針對ios有效,android還是無效
設置代碼如下
<video src="{{model.playUrl}}"
binderror="videoError"
enable-danmu
show-center-play-btn='{{true}}'
autoplay="{{true}}"
style="width:100%;height:400rpx"
id="videPlayer"
direction="{{90}}"
show-fullscreen-btn="{{true}}"
enable-progress-gesture="{{false}}"
show-bottom-progress="{{false}}"
show-play-btn="{{false}}">
</video>
解決辦法
將show-progress設置為false即可文章來源:http://www.zghlxwxcb.cn/news/detail-616275.html
show-progress="{{false}}"
文章來源地址http://www.zghlxwxcb.cn/news/detail-616275.html
到了這里,關于小程序video播放器隱藏進度條無效問題的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!