agentsclimarketplace

Js webassembly 视频播放器生成器

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/js-webassembly-视频播放器生成器

生成使用 WebAssembly (Wasm) 模块进行视频解码的 JavaScript MP4 Web 播放器代码,而非使用浏览器原生解码。From its SKILL.md

Install
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

  1. 播放器必须使用 WebAssembly (Wasm) 模块进行视频解码,而不是依赖浏览器的原生 <video> 标签解码。
  2. 视频流需要被发送到 Wasm 解码器进行处理。
  3. 使用 <canvas> 元素来渲染解码后的视频帧。
  4. 代码应包含加载 Wasm 模块、获取视频帧、调用解码器以及渲染画面的逻辑。

Interaction Workflow

  1. 提供 HTML 结构(包含 canvas)。
  2. 提供 JavaScript 代码以加载 Wasm 模块。
  3. 提供获取视频数据并传递给 Wasm 解码器的逻辑。
  4. 提供将解码后的帧绘制到 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.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.