Skip to content

🎥 Make videos programmatically with React

fix: variable name

Marcus Stenbeck93ab4a2c99cd
diff --git a/packages/docs/docs/miscellaneous/snippets/player-in-iframe.md b/packages/docs/docs/miscellaneous/snippets/player-in-iframe.md
index bb21a2c6a8..1d234ebff2 100644
--- a/packages/docs/docs/miscellaneous/snippets/player-in-iframe.md
+++ b/packages/docs/docs/miscellaneous/snippets/player-in-iframe.md
@@ -85,7 +85,7 @@ const IframePlayerWithoutRef = <T,>(
{mountNode &&
ReactDOM.createPortal(
// @ts-expect-error PlayerProps are incorrectly typed
- <Player<T> {...otherProps} ref={ref} className={combinedClassName} />,
+ <Player<T> {...props} ref={ref} className={combinedClassName} />,
mountNode
)}
</iframe>