当前位置:网站首页>Applet Wx Previewmedia related problem solving - Daily stepping on the pit
Applet Wx Previewmedia related problem solving - Daily stepping on the pit
2022-04-23 07:36:00 【flym_】
wx.previewMedia: Preview pictures and videos .
problem 1:
Project under development , Update photos of cloud storage , After regaining the temporary link , Take it to wx.previewImage When previewing ,( or wx.previewMedia ), Finally, there are old pictures .
reason : Server image cache reason , The applet cannot be updated in time .
Solution : In the picture URL Add parameters after , Let the picture URL Greater discrimination , such as https://xxxxxxxxx.tcb.qcloud.la Add parameters :https://xxxxxxxxx.tcb.qcloud.la?time=12345667
problem 2:
When the type is video when , Multiple videos at the same time . Added a video cover in , But when you click preview , Only the first time is normal , When you click the second video playblast , The cover image displayed is the last cover image , And the video cannot be played .
reason : To find out why , It is initially suspected that the cover image is too large
Solution : By compressing the cover image , Compress the picture to dozens k Size , The exact size is unknown , Problem solving
版权声明
本文为[flym_]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230617476188.html
边栏推荐
- Take you to travel in space, and American photography technology provides comprehensive technical support for aerospace creative applet
- xdotool按键精灵
- PyTorch 13. Nested functions and closures (dog head)
- 快速下载vscode的方法
- 可视化常见问题解决方案(九)背景颜色问题
- null和undefined的区别
- PyTorch 14. Module class
- 可视化常见问题解决方案(八)数学公式
- Machine vision series (01) -- Overview
- 组合数求解与(扩展)卢卡斯定理
猜你喜欢
Solution of emergency communication system for major security incidents
自定义classloader并实现热部署-使用loadClass
How does the public and Private Integrated walkie talkie realize cooperative work under multi-mode communication?
枫桥学院开元名庭酒店DMR系统解决方案
Tensorflow安装后ImportError: DLL load failed: 找不到指定的模块,且国内安装缓慢
Discussion on frame construction and technology selection of short video platform
免费开源智能充电桩物联网SAAS云平台
van-uploader上传图片实现过程、使用原生input实现上传图片
北峰通信助力湛江市消防支队构建PDT无线通信系统
可视化之路(九)Arrow类详解
随机推荐
PC端一次启动多个微信
colab
DMR system solution of Kaiyuan MINGTING hotel of Fengqiao University
Solution of self Networking Wireless Communication intercom system in Beifeng oil and gas field
防汛救灾应急通信系统
可视化常见绘图(三)面积图
PyTorch 12. Hook usage
不需要破解markdown编辑工具Typora
[ACM-ICPC 2018 沈阳赛区网络预赛] J.Ka Chang (分块+dfs序)
可视化之路(九)Arrow类详解
el-table的数据更新后,页面中数据未更新this.$forceUpdate()无效果
北峰油气田自组网无线通信对讲系统解决方案
Discussion on the outline of short video technology
pytorch:关于GradReverseLayer实现的一个坑
remote: Support for password authentication was removed on August 13, 2021.
golang实现一个带Web界面的五险一金计算器
商业版阿里MQ普通消息发送订阅Demo
利用mysql-binlog恢复数据
可视化常见问题解决方案(七)画图刻度设置解决方案
数据分析学习(一)数据分析和Numpy基础