html52.com
我爱小程序-开发者交流社区

live-player的autoplay问题

问题模块 框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 小程序 Bug live-player 客户端 6.7.3 2.3.0

- 当前 Bug 的表现(可附上截图)

<live-player

class='player'

style='height:50vh;height:50vw'

id='player'

src='rtmp://192.168.2.50:1937/ceshi/92'

mode='live'

min-cache='1'

max-cache='3'

object-fit='contain'

autoplay='false'

orientation='vertical'

muted='false'

bindstatechange='onPlay'>    

</live-player>

>autoplay设置都为flase了 为什么还是会自动播放呢?


autoplay设置都为flase了 为什么还是会自动播放呢?


网友回复

nickname:

要这样写哈:autoplay='{{false}}'

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付