风痕

Results 20 issues of 风痕

官方的有个wepy1的demo,应该不适应wepy2了。 wepy2 cli创建的模板中,有个使用第三方组件的例子: ```html { navigationBarTitleText: 'WePY 2.0 Feature Demo', usingComponents: { "slide-view": "module:miniprogram-slide-view", } } ``` 但这个例子不适用于weui-miniprogram,因为weui是一个组件库,与miniprogram-slide-view目录结构差异如下: ![image](https://user-images.githubusercontent.com/3307051/84570504-8b436f80-adc0-11ea-8469-f028774e2847.png) 所以,如题咨询,wepy2 中该如何引入weui?

UI看起来不错,内容也齐全。 wepy 2.x也出来了,想了解下项目会继续维护么?

这是在 LiveVideoStack 分享内容的文字版: https://hughfenghen.github.io/posts/2023/10/06/webcodecs-new-era-for-media-on-the-web/ 介绍之前 Web 平台音视频存在的问题,也是 WebCodecs API 的背景与动机。 除了文字内容,在 [WebAV 站点](https://hughfenghen.github.io/WebAV/demo)有丰富的 demo 可直接体验 Web 音视频处理能力。

weekly

首先 感谢作者贡献的工具:) 初次体验非常棒; 我遇到问题: 在自己的博客提取文章同步其他平台,或多或少都有一些排版、样式问题。 希望提取之后,允许在内容中自动插入原文链接,因为原博客的体验是最好的。

### 项目链接 - [opfs-tools](https://github.com/hughfenghen/opfs-tools):在浏览器中运行的简单、高性能、完备的文件系统 API - [opfs-tools-explorer](https://github.com/hughfenghen/opfs-tools-explorer):管理 Web 站点的 OPFS 文件,类似操作系统的 Explorer、Finder [推文链接](https://hughfenghen.github.io/posts/2024/03/06/opfs-tools-tweet/) ### 推文内容 文件系统是许多领域程序的基石,所有通用编程语言都会内置完备的文件系统 API。 Web 很长一段时间没有提供完善的访问文件系统的规范,使得需要高频读写文件、大文件处理软件在 Web 端都会受到一些限制,比如音视频剪辑、游戏、数据库等等。 之前在浏览器中实现[视频裁剪](https://github.com/hughfenghen/bloom-shadow)、[截帧](https://hughfenghen.github.io/WebAV/demo/1_4-mp4-previewer)等相关功能时,发现缺少基本的操作文件的 API,比如读写、移动、复制文件。 而 [OPFS](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system)已经发布很久了(Chrome 86),它提供了访问文件系统的低级 API,且在 Worker 中访问才能发挥最佳性能,日常使用起来很是麻烦,于是就有了基于 OPFS...

weekly

Missing data causes the size to be [calculated incorrectly](https://github.com/gpac/mp4box.js/blob/master/src/box-write.js#L45), which ultimately prevents the file from being parsed. Adding the code after https://github.com/gpac/mp4box.js/blob/master/src/parsing/esds.js#L2 seems to solve the problem `this.data = esd_data`...

> 文章链接:https://hughfenghen.github.io/posts/2024/03/14/web-storage-and-opfs/ 文件系统是往往是构建大型软件的基石之一,很长一段时间 Web 平台因缺失成熟的文件系统成为构建大型软件的阻碍,如今 [OPFS](https://developer.mozilla.org/zh-CN/docs/Web/API/File_System_API/Origin_private_file_system) 可弥补这一缺憾。 本文介绍 OPFS 背景和基本使用方法、使用过程中的注意事项; 及如何配合 [opfs-tools](https://github.com/hughfenghen/opfs-tools)、[opfs-tools-explorer](https://github.com/hughfenghen/opfs-tools-explorer) 两个开源项目,充分发挥 OPFS 的性能与开发效率; 还对比分析了 OPFS 主线程、Worker 与 indexeddb 的读写性能数据。 - [opfs-tools](https://github.com/hughfenghen/opfs-tools) 基于 OPFS 封装提供简洁的 API,优雅高效地操作文件 - [opfs-tools-explorer](https://github.com/hughfenghen/opfs-tools-explorer)可视化管理 OPFS...

weekly