Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

JS WebAssembly 视频播放器生成器

FreeNo executable scriptsNot checked

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

ECNU-ICALKby ECNU-ICALK★ 623 GitHub stars

About this skill

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解码

Install JS WebAssembly 视频播放器生成器 in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the JS WebAssembly 视频播放器生成器 skill do?

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

How do I install the JS WebAssembly 视频播放器生成器 skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the JS WebAssembly 视频播放器生成器 skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare JS WebAssembly 视频播放器生成器 with