Skip to content

Commit 4ee99e5

Browse files
committed
fix typo in example code snippet
1 parent 3714145 commit 4ee99e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
onPlaybackQualityChange={q => console.log(q)}
1616
volume={50}
1717
playbackRate={1}
18-
playerParams={{
18+
initialPlayerParams={{
1919
preventFullScreen: true,
2020
cc_lang_pref: "us",
2121
showClosedCaptions: true

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const [playing, setPlaying] = useState(true);
5757
onPlaybackQualityChange={q => console.log(q)}
5858
volume={50}
5959
playbackRate={1}
60-
playerParams={{
60+
initialPlayerParams={{
6161
cc_lang_pref: "us",
6262
showClosedCaptions: true
6363
}}

0 commit comments

Comments
 (0)