Skip to content

Commit b32a40a

Browse files
authored
Correct prop name
I think it should be `configs` not `config`
1 parent 6390425 commit b32a40a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default {
9393
<video-player :options="videoOptions"></video-player>
9494

9595
<!-- Use in component(Vue.js1.X && Vue.js2.X && function switch config) -->
96-
<video-player :options="videoOptions" :config="{ youtube: true }"></video-player>
96+
<video-player :options="videoOptions" :configs="{ youtube: true }"></video-player>
9797

9898
<!-- Use in component(Vue.js2.X) && event callback -->
9999
<video-player :options="videoOptions" @player-state-changed="playerStateChanged"></video-player>

0 commit comments

Comments
 (0)