09 2023 档案

摘要:/** * 获取视频时长,单位s * how to use * getVideoDuration('https://xx.xxx.mp4').then(res=>{ * console.log("视频时长",res) * }) */ export function getVideoDuration( 阅读全文
posted @ 2023-09-18 14:34 huihuihero 阅读(94) 评论(0) 推荐(0) 编辑
摘要:移动端项目配置:在index.html里添加以下代码即可 <script> let sUserAgent = navigator.userAgent.toLowerCase(); let isIpad = sUserAgent.match(/ipad/i) == "ipad"; let isIpho 阅读全文
posted @ 2023-09-04 11:05 huihuihero 阅读(128) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示