🎥 Make videos programmatically with React
new troubleshooting article: "Loading <Img> with src http://localhost:3000/proxy"
Jonny Burger9eda868f692b
diff --git a/packages/docs/docs/troubleshooting/delay-render-proxy.md b/packages/docs/docs/troubleshooting/delay-render-proxy.mdnew file mode 100644index 0000000000..5afc526b35--- /dev/null+++ b/packages/docs/docs/troubleshooting/delay-render-proxy.md@@ -0,0 +1,26 @@+---+image: /generated/articles-docs-troubleshooting-delay-render-proxy.png+title: "Loading <Img> with src http://localhost:3000/proxy"+sidebar_label: "Loading <Img> with src=http://localhost:3000/proxy..."+crumb: "Troubleshooting"+---++The error message `A delayRender() "Loading <Img> with src=http://localhost:3000/proxy?src=[...]&time=[...]&transparent=[...]" was called but not cleared after 28000ms. See https://remotion.dev/docs/timeout for help`:++```+A delayRender() "Loading <Img> with src=http://localhost:3000/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fbackground.mp4&time=683.45&transparent=false" was called but not cleared after 28000ms. See https://remotion.dev/docs/delay-render-proxy for help+```++occurs when loading an [`<OffthreadVideo>`](/docs/offthreadvideo) and the frame cannot be extracted within the [timeout](/docs/cli/render#--timeout).++To be able to extract a frame, `<OffthreadVideo>` needs to:++- Download the file in full+- Open the file and seek to the correct position+- Decode the frame and convert it into an image++Especially for large files which take some time to download, this error may occur. In order to resolve it, consider increasing the timeout.++You can also [enable verbose logging](/docs/troubleshooting/debug-failed-render) to see the progress of the work that `<OffthreadVideo>` is doing. In the usual case, you can understand from the timings why the timeout occurred.++If you believe this error was triggered by a bug in Remotion, please [open an issue](/docs/get-help).diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.jsindex 9841d16703..c19cb99ef6 100644--- a/packages/docs/sidebars.js+++ b/packages/docs/sidebars.js@@ -703,6 +703,7 @@ module.exports = {"troubleshooting/could-not-be-parsed-as-a-value-list","troubleshooting/broken-fast-refresh","troubleshooting/timed-out-page-function",+ "troubleshooting/delay-render-proxy",],},{diff --git a/packages/docs/src/data/articles.ts b/packages/docs/src/data/articles.tsindex ffbe1b8771..985ba1d91d 100644--- a/packages/docs/src/data/articles.ts+++ b/packages/docs/src/data/articles.ts@@ -2654,6 +2654,13 @@ export const articles = [compId: "articles-docs-troubleshooting-defaultprops-too-big",crumb: "Troubleshooting",},+ {+ id: "troubleshooting/delay-render-proxy",+ title: "Loading <Img> with src http://localhost:3000/proxy",+ relativePath: "docs/troubleshooting/delay-render-proxy.md",+ compId: "articles-docs-troubleshooting-delay-render-proxy",+ crumb: "Troubleshooting",+ },{id: "loading-root-component",title: "Root component Timeout",