ios手机上看直播时 一直自动暂停 安卓手机上是正常的
用的是video标签
<video id=“polyvLiveVideo” class=“vp-v” src="{{videos.src}}" bindtimeupdate=“timeUpdate” autoplay=“true”>
<cover-view class=“danmu-list” wx:for="{{danmulist}}" wx:key="{{index}}" style=“color:{{item.color}};top:{{30*item.top + 40}}px;transform: translateX({{item.left}}px);position:fixed;”>
<cover-view class=“left play”>
<cover-image class=“danmu-img” src="{{item.us_headimg}}" />
</cover-view>
<cover-view class=“left danmu-text”>
{{item.us_nickname}}:{{item.content}}{{marqueeDistance[index]}}
</cover-view>
</cover-view>
<cover-view bindtap=‘isSendBarrage’ id=‘is-barrage’>
<cover-image wx:if="{{isBarrage}}" class=“img” src="…/…/images/doommOpen.png"/>
<cover-image wx:else class=“img” src="…/…/images/doommClose.png"/>
</cover-view>
<cover-view bindtap=‘sendBarrageIpt’ wx:if="{{isBarrage}}" id=“send-icon”>
<cover-image class=“img” src="…/…/images/sendDoomm.png"/>
</cover-view>
<cover-view bindtap=‘sendBarrageIpt’ wx:if="{{isBarrage}}" id=“send-icon”>
<cover-image class=“img” src="…/…/images/sendDoomm.png"/>
</cover-view>
</video>
麻烦提供一下出现问题的机型和微信版本,并且给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)