🎥 Make videos programmatically with React
Keep HTML-in-canvas documentation change minimal
JonnyBurger531cc168bcc4
diff --git a/packages/docs/docs/motion-blur/html-in-canvas-motion-blur.mdx b/packages/docs/docs/motion-blur/html-in-canvas-motion-blur.mdxindex 73e83b3220..1dbb24df7d 100644--- a/packages/docs/docs/motion-blur/html-in-canvas-motion-blur.mdx+++ b/packages/docs/docs/motion-blur/html-in-canvas-motion-blur.mdx@@ -14,8 +14,6 @@ crumb: '@remotion/motion-blur'`<HtmlInCanvasMotionBlur>` is the state-of-the-art recommended way to achieve motion blur in Remotion.It requires [HTML-in-canvas](/docs/html-in-canvas#enabling-the-flag-in-chrome) to be enabled during preview. Rendering needs no configuration.-From <AvailableFrom v="4.0.538" inline />, if HTML-in-canvas is unavailable during preview, the component displays its children at the current frame without motion blur and shows a "Motion blur is not visible" warning. Rendering still fails when HTML-in-canvas is unavailable.-```tsx twoslash title="MyComposition.tsx"import {HtmlInCanvasMotionBlur,diff --git a/packages/docs/docs/remotion/html-in-canvas.mdx b/packages/docs/docs/remotion/html-in-canvas.mdxindex cdeec2b984..e70170f0ab 100644--- a/packages/docs/docs/remotion/html-in-canvas.mdx+++ b/packages/docs/docs/remotion/html-in-canvas.mdx@@ -28,13 +28,10 @@ export const MyComp: React.FC = () => {Return value: _boolean_+If HTML-in-canvas is not available, the component throws a fatal error during rendering.Use `HtmlInCanvas.isSupported()` to check if HTML-in-canvas is supported.Buggy implementations such as the one in Chrome 147 are not considered supported.-From <AvailableFrom v="4.0.538" inline />, if HTML-in-canvas is unavailable during preview, the component displays its children without canvas effects and shows a warning in its top-right corner. Dimensions, styles, cropping, and sequence timing are preserved. The `onInit` and `onPaint` callbacks are not called, and the canvas ref remains `null`.--Rendering still throws a fatal error when HTML-in-canvas is unavailable. Before v4.0.538, previews also threw an error.-```ts twoslash title="Check if HTML-in-canvas is supported"import {HtmlInCanvas} from 'remotion';@@ -49,7 +46,7 @@ if (HtmlInCanvas.isSupported()) {Return value: _boolean_-Returns `true` when HTML-in-canvas is enabled and the browser supports nesting. During rendering, unsupported nesting throws an error. From <AvailableFrom v="4.0.538" inline />, unsupported nested components display their children without canvas effects during preview, with a warning for each affected component.+Returns `true` when HTML-in-canvas is enabled and the browser supports nesting. Use it before nesting `<HtmlInCanvas>` components. Older versions throw an error when components are nested.From Remotion <AvailableFrom v="4.0.534" inline />, the bundled server-side browser is Chromium 157.0.8080.0, so this method also returns `true` during server-side rendering.diff --git a/packages/docs/docs/transitions/make-html-in-canvas-presentation.mdx b/packages/docs/docs/transitions/make-html-in-canvas-presentation.mdxindex 12fa14a233..3096071ef6 100644--- a/packages/docs/docs/transitions/make-html-in-canvas-presentation.mdx+++ b/packages/docs/docs/transitions/make-html-in-canvas-presentation.mdx@@ -234,8 +234,6 @@ const myPresentation = makeHtmlInCanvasPresentation(myShader);:::warningHTML-in-canvas requires [Google Chrome](https://www.google.com/chrome/) with `chrome://flags/#canvas-draw-element` enabled.--From <AvailableFrom v="4.0.538" inline />, previews without HTML-in-canvas show a "Transition is not visible" warning and cut between scenes halfway through the transition. The transition duration is preserved. Rendering still fails when HTML-in-canvas is unavailable.:::## Arguments