feat: render youtube player after initialization and enable default mute
This commit is contained in:
parent
663885712b
commit
e69395dca0
2 changed files with 10 additions and 2 deletions
1
src/types/youtube.d.ts
vendored
1
src/types/youtube.d.ts
vendored
|
|
@ -24,6 +24,7 @@ interface YouTubePlayerConfig {
|
|||
controls?: 0 | 1
|
||||
start?: number
|
||||
end?: number
|
||||
mute?: 0 | 1
|
||||
}
|
||||
events?: {
|
||||
onReady?: (event: { target: YouTubePlayer }) => void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue