🎥 Make videos programmatically with React
allow non-integer numbers
Jonny Burgera48f959cc8db
diff --git a/packages/docs/docs/player.md b/packages/docs/docs/player.mdindex 2a1320ed8a..cd0cbca106 100644--- a/packages/docs/docs/player.md+++ b/packages/docs/docs/player.md@@ -145,7 +145,7 @@ Once you have set this prop, you cannot change it anymore or an error will be th_optional_-An integer between -4 and 4 (excluding 0) for the speed that the Player will run the media.+An number between -4 and 4 (excluding 0) for the speed that the Player will run the media.## `PlayerRef`@@ -307,9 +307,9 @@ useEffect(() => {playerRef.current.addEventListener("play", () => {console.log("playing");});- playerRef.current.addEventListener('ratechange', () => {- console.log("ratechange");- })+ playerRef.current.addEventListener("ratechange", () => {+ console.log("ratechange");+ });playerRef.current.addEventListener("pause", () => {console.log("pausing");});