appleple / react-modal-video

Accessible React Modal Video Component
https://appleple.github.io/react-modal-video/
MIT License
178 stars 86 forks source link

Unclear documentation on using properties #20

Closed kwaimind closed 5 years ago

kwaimind commented 6 years ago

Hey there,

Looking over the docs, I'm not 100% sure how I am supposed to use some of the sub-property props.

I.e. "youtube show info" or "youtube controls = 0"

Am I missing something?

steelydylan commented 5 years ago

Hi @kwaimind

eg. If you want to show youtube video then you can use the sub-property like below

<ModalVideo channel="youtube" youtube={{
  controls: 1
}} />