video标签,安桌手机视频播放报错MEDIA_ERR_DECODE ?
发布于 5 年前 作者 xiulan45 5045 次浏览 来自 官方Issues

<view class=“myVideo” >

    <video id=“myVideo” hidden="{{isShowVideo}}" src="{{src}}" bindended=‘endViedo’  bindtimeupdate = ‘changeTimeToVideo’  bindfullscreenchange=“fullScreen”

 binderror=“videoErrorCallback”

 bindplay=‘playVideo’  bindpause=‘pauseVideo’ objectFit=‘fill’ initial-time="{{initial_time}}"

autoplay="{{isPaly}}"

    binderror=“videoErrorCallback” style=“width: 100%;height: 500rpx;”  controls></video>

</view>

微信版本 :8.0.15

手机型号

视频:https://rainfo-enter-edu-out.oss-cn-hangzhou.aliyuncs.com/trainEnterprise/100015/media/3578c84c67124f5f9bea055255cd531b.mp4?Expires=1634292792&OSSAccessKeyId=TMP.3KdnCiev4bAqZbcZpxTU3cnuZZNqwH61NJnLx49mtnJ7erTiaoBUUSxdD3KAZDCQUcgPHRuvwZ1K7Uwauhp1VePw9sUZEg&Signature=m%2BNSXNeL22jX0Rqxo8RwDye92b8%3D

1 回复

MEDIA_ERR_DECODE是解码发生错误

可以试试视频文件直接播放会不会有问题

回到顶部