代码片段:<video class="video" controls :x5-video-player-fullscreen="false" x5-playsinline playsinline x-webkit-airplay="allow" webkit-playsinline loop='loop' :poster="info.pic_url" :src="info.videourl"></video>
微信版本号8.0.50,H5页面地址:https://m.motortime.com/article/6063/post
以下分别是safari浏览器,钉钉内打开,微信内打开
找到问题了,配置微信分享时,把图片质量变成“w_120”了
wx.updateAppMessageShareData({
title: dataForWeixin.title,
desc: dataForWeixin.description,
link: data.url,
imgUrl: dataForWeixin.share_image += '?x-oss-process=image/resize,w_120',
trigger: function trigger (res) { },
success: function success (res) {
console.log('已分享');
},
cancel: function cancel (res) {
console.log('已取消');
},
fail: function fail (res) {
console.log('进来了');
}
});