<p><iframe class="video_iframe rich_pages" data-vidtype="2" data-mpvid="wxv_1119366899013451776" data-cover="http%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FYnV5G2ZibAlFq93Q5gXzoHmgL98cxOLdpibP6voMZ7by0rCltqmrg5RV33Ia0WSiajhtibl87QOkNDvAn8epUvQH0A%2F0%3Fwx_fmt%3Djpeg" allowfullscreen="" frameborder="0" style="position:relative;z-index:1;" data-ratio="1.7777777777777777" data-w="640" data-src="https://mp.weixin.qq.com/mp/readtemplate?t=pages/video_player_tmpl&action=mpvideo&auto=0&vid=wxv_1119366899013451776"></iframe></p><p><br></p>
微信公众号上传图文消息素材,怎么添加视频或音频素材到图文内容(content)内?通过新增图文素材接口,在content字段里添加类似<iframe src="20210524/20210524191446_0ba75db9114d193796e74794022cb3f1.mp4">视频</iframe>内容,发出去的图文消息没有视频的显示
2021-10-29我特喵的 还没解决方案呢 百度翻了3篇了
uploadFile 发请求 出现Provisional headers are shown?wx.uploadFile({ url: 'https://zdlcesi.yk0631.com/index.php?s=/api/upload/image', filePath: tempFilePaths, name: 'iFile', timeout: 15000, header: { "Content-Type": "multipart/form-data" }, //formData: null, success: function(res) { console.log('走这里'); //var images = that.data.images; // var data = JSON.parse(res.data); // console.log('这里:'+ data.url); // var url = data.url; // object['urls'] = that.data.urlArr.concat(siteinfo.siteroot + url); // resolve(object); // resolve(JSON.parse(res.data)); } 阻塞了请求,请求头里面出现 Provisional headers are shown [图片] 咋回事呢!我也没有跨域啥的啊。域名是安全的https。
2021-06-25