收藏
回答

video组件播放m3u8,iOS可以成功播放,Android端不能播放,一直在转圈?

<view class="page_container">
    <video class="videoClass" id="myVideo" src="{{videoUrl}}" binderror="videoErrorCallback"
           bindwaiting="videoWaitingCallback" bindplay="videoPlayCallback" bindpause="videoPauseCallback"
           bindended="videoEndedCallback" bindprogress="videoProgressCallback"
           bindloadedmetadata="loadedMetaDataCallback" bindtimeupdate="timeUpdateCallback"
           show-center-play-btn='{{false}}' show-play-btn="true" show-mute-btn="true" muted="true" autoplay="true"
           object-fit="contain"></video>
    <calender-widget class="calender" eventTypes="{{eventTypes}}" bind:changeTime="onCalenderEvent"
                     bind:clickEventItem="onTypeEvent"></calender-widget>
    <camera-alarm-list-item class="alarm_list" did="{{did}}" alarm_list="{{alarm_list}}"
                            showEmptyView="{{showEmptyView}}" bind:onCameraAlarmItemClick="onCameraAlarmItemClick"/>
    <view class="more_container">
        <view class="more_video">
            <button class="more_fuc" type="default" plain="{{true}}" open-type="launchApp" bindlaunchapp="launchapp"
                    binderror="launchAppError" app-parameter="{{appParameter}}">更多视频
            </button>
        </view>
    </view>
</view>
回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员--阳光
    社区技术运营专员--阳光
    2020-09-11

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    2020-09-11
    有用
    回复
登录 后发表内容
问题标签