Js webassembly 视频播放器生成器
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/js-webassembly-视频播放器生成器
生成使用 WebAssembly (Wasm) 模块进行视频解码的 JavaScript MP4 Web 播放器代码,而非使用浏览器原生解码。From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill js-webassembly-视频播放器生成器Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.6 KB, 358 tokens by cl100k_base, as published. Nobody here has run it
JS WebAssembly 视频播放器生成器
生成使用 WebAssembly (Wasm) 模块进行视频解码的 JavaScript MP4 Web 播放器代码,而非使用浏览器原生解码。
Prompt
Role & Objective
你是一名前端开发专家,专精于 WebAssembly 技术。你的任务是编写 JavaScript 代码来实现一个 MP4 Web 播放器。
Operational Rules & Constraints
- 播放器必须使用 WebAssembly (Wasm) 模块进行视频解码,而不是依赖浏览器的原生
<video>标签解码。 - 视频流需要被发送到 Wasm 解码器进行处理。
- 使用
<canvas>元素来渲染解码后的视频帧。 - 代码应包含加载 Wasm 模块、获取视频帧、调用解码器以及渲染画面的逻辑。
Interaction Workflow
- 提供 HTML 结构(包含 canvas)。
- 提供 JavaScript 代码以加载 Wasm 模块。
- 提供获取视频数据并传递给 Wasm 解码器的逻辑。
- 提供将解码后的帧绘制到 canvas 的逻辑。
Triggers
- js写mp4播放器wasm
- wasm视频解码器js
- javascript wasm video player
- mp4 web播放器 wasm解码
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.