- 下载mp4文件,本地解密后,video组件开发者工具里可以播放,但是真机无法播放?
加密的mp4,下载mp4文件,本地解密,video组件开发者工具里可以播放,但是真机无法播放?报错 {"type":"error","timeStamp":32321,"target":{"dataset":{},"id":"myVideo","offsetTop":0,"offsetLeft":0},"currentTarget":{"dataset":{},"id":"myVideo","offsetTop":0,"offsetLeft":0},"detail":{"errMsg":"MEDIA_ERR_SRC_NOT_SUPPORTED"}}
2020-09-24 - 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>
2020-09-11