2023年3月17日

火狐浏览器播放不了mp4视频片段

摘要: 问题:火狐浏览器播放不了mp4视频片段 给出的警告信息是: Decoder may not have the capability to handle the requested video format with YUV444 chroma subsampling. 经过查资料得知:火狐不支持 Y 阅读全文

posted @ 2023-03-17 17:33 Diamond_xx 阅读(250) 评论(0) 推荐(0) 编辑

2020年12月4日

html2canvas.js——HTML转Canvas工具

摘要: 概述: 将HTML代码转化成Canvas,进而生成图片 使用场景: 动态生成海报的需求,html2canvas.js就是一款优秀的插件,它可以轻松地帮你将HTML代码转换成Canvas,进而生成可保存分享的图片 使用: 布局 <div id="qianduanwz" ref='teamShare'> 阅读全文

posted @ 2020-12-04 18:11 Diamond_xx 阅读(416) 评论(0) 推荐(0) 编辑

img引起的跨域问题

摘要: 重新认识跨域 概念: cros base64 阅读全文

posted @ 2020-12-04 16:48 Diamond_xx 阅读(659) 评论(0) 推荐(0) 编辑

2020年12月2日

容错与loading处理

摘要: try catch 的catch中要记得容错处理 请求接口要loading 提升交互体验 阅读全文

posted @ 2020-12-02 10:09 Diamond_xx 阅读(49) 评论(0) 推荐(0) 编辑

2020年11月23日

细数前端大牛

摘要: https://www.jianshu.com/p/91cf0071c1f6 细数前端大牛 阅读全文

posted @ 2020-11-23 07:14 Diamond_xx 阅读(122) 评论(0) 推荐(0) 编辑

2020年7月10日

最佳实践

该文被密码保护。 阅读全文

posted @ 2020-07-10 07:46 Diamond_xx 阅读(0) 评论(0) 推荐(0) 编辑

canvas画图

该文被密码保护。 阅读全文

posted @ 2020-07-10 07:19 Diamond_xx 阅读(0) 评论(0) 推荐(0) 编辑

2020年7月3日

canvas绘图

该文被密码保护。 阅读全文

posted @ 2020-07-03 16:30 Diamond_xx 阅读(0) 评论(0) 推荐(0) 编辑

数据变化

该文被密码保护。 阅读全文

posted @ 2020-07-03 10:33 Diamond_xx 阅读(0) 评论(0) 推荐(0) 编辑

2020年6月12日

NPM全局包安装位置

摘要: 当使用npm安装一些全局的软件包时,不知道安装到了什么位置,可以使用命令 npm root -g 进行查询,通常默认会保存在以下位置: Windows C:\Users\username\AppData\Roaming\npm\node_modules 阅读全文

posted @ 2020-06-12 11:20 Diamond_xx 阅读(9563) 评论(0) 推荐(2) 编辑

导航