
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@file-viewer/renderer-media
Advanced tools
Standalone audio and video renderer plugin for File Viewer with native media playback, HLS fallback, MIDI parsing, and offline-friendly lazy loading.
Flyfish File Viewer 的独立音视频 renderer 包。它负责音频、视频、HLS 清单和 MIDI 文件的浏览器端预览,并让 hls.js、@tonejs/midi 只在命中对应格式时加载。
import { mediaRenderer } from '@file-viewer/renderer-media'
const options = {
builtinRenderers: 'none',
renderers: [mediaRenderer],
}
也可以通过全量 preset 自动装配:
import { allRenderers } from '@file-viewer/preset-all'
const options = {
builtinRenderers: 'none',
renderers: allRenderers,
}
<video> / <audio> 控件。.m3u8 优先使用浏览器原生能力,不支持时才按需加载 hls.js。@tonejs/midi,展示曲名、时长、PPQ、轨道和音符摘要。@file-viewer/core 已不再内置 media renderer,也不再直接依赖 hls.js 和 @tonejs/midi。需要音频、视频、HLS 或 MIDI 预览时,请显式安装本包,或使用会自动聚合本包的 @file-viewer/preset-all。
FAQs
Standalone native audio and video renderer for File Viewer; HLS fallback and MIDI inspection are explicit opt-in capabilities.
The npm package @file-viewer/renderer-media receives a total of 6,728 weekly downloads. As such, @file-viewer/renderer-media popularity was classified as popular.
We found that @file-viewer/renderer-media demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.