feat: render youtube player after initialization and enable default mute

This commit is contained in:
codytseng 2025-07-30 18:14:20 +08:00
parent 663885712b
commit e69395dca0
2 changed files with 10 additions and 2 deletions

View file

@ -24,6 +24,7 @@ interface YouTubePlayerConfig {
controls?: 0 | 1
start?: number
end?: number
mute?: 0 | 1
}
events?: {
onReady?: (event: { target: YouTubePlayer }) => void