
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@file-viewer/renderer-media
Advanced tools
Standalone audio and video renderer plugin for Flyfish 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 audio and video renderer plugin for File Viewer with native media playback, HLS fallback, MIDI parsing, and offline-friendly lazy loading.
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.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.