π₯ Make videos programmatically with React
Prefere OffthreadVideo
Patric Salvisberg7bef56bd896a
diff --git a/packages/docs/docs/video-vs-offthreadvideo.md b/packages/docs/docs/video-vs-offthreadvideo.mdindex 761e22e703..b9b2aef89a 100644--- a/packages/docs/docs/video-vs-offthreadvideo.md+++ b/packages/docs/docs/video-vs-offthreadvideo.md@@ -34,9 +34,9 @@ A more sophisticated way of embedding a video, which:**Pros**-β More videos can be displayed simulatenously as Chrome will not apply throttling+β More videos can be displayed simulatenously as Chrome will not apply throttling.β No flickers or duplicate frames in the output video can occur.-β Supports more codecs such as ProRes (only during render-time)+β Supports more codecs such as ProRes (only during render-time).β Is usually faster to render.**Cons**@@ -45,3 +45,5 @@ A more sophisticated way of embedding a video, which:β No ref can be attached to this element, as it is `<video>` during preview but a `<Img/>` during render.β The video cannot be drawn to a canvas.β Supports embedded transparent videos only if [`transparent`](/docs/offthreadvideo#transparent-) is set which leads to a performance penalty.++Prefere [`<OffthreadVideo />`](/docs/offthreadvideo) whenever possible.