Skip to content

🎥 Make videos programmatically with React

added deprecated APIs

Patric Salvisberg3cf75bbd29af
diff --git a/packages/docs/components/TableOfContents/renderer.tsx b/packages/docs/components/TableOfContents/renderer.tsx
index 87b6024f9d..c85282af16 100644
--- a/packages/docs/components/TableOfContents/renderer.tsx
+++ b/packages/docs/components/TableOfContents/renderer.tsx
@@ -3,6 +3,7 @@ import { Grid } from "./Grid";
import { TOCItem } from "./TOCItem";
export const TableOfContents: React.FC = () => {
+ const offthreadComponent = "<OffthreadVideo>";
return (
<div>
<Grid>
@@ -42,6 +43,24 @@ export const TableOfContents: React.FC = () => {
<strong>getVideoMetadata()</strong>
<div>Get metadata from a video file in Node.js</div>
</TOCItem>
+ <TOCItem link="/docs/renderer/ensure-ffmpeg">
+ <strong style={{ textDecoration: "line-through" }}>
+ ensureFfmpeg()
+ </strong>
+ <div>Check for ffmpeg binary and install if not existing</div>
+ </TOCItem>
+ <TOCItem link="/docs/renderer/ensure-ffprobe">
+ <strong style={{ textDecoration: "line-through" }}>
+ ensureFfprobe()
+ </strong>
+ <div>Check for ffprobe binary and install if not existing</div>
+ </TOCItem>
+ <TOCItem link="/docs/renderer/get-can-extract-frames-fast">
+ <strong style={{ textDecoration: "line-through" }}>
+ getCanExtractFramesFast()
+ </strong>
+ <div>Probes for fast extraction for {offthreadComponent}</div>
+ </TOCItem>
</Grid>
</div>
);