LonelyCpp / react-native-youtube-iframe

A wrapper of the Youtube-iframe API built for react native.
https://lonelycpp.github.io/react-native-youtube-iframe/
MIT License
610 stars 155 forks source link

make videoId props optional #209

Closed YannickLeRoux closed 2 years ago

YannickLeRoux commented 2 years ago

Hi! Shouldnt we make videoId optional if we want to pass just a playList? Ideally a conditional type should probably be created so we must have videoId or playList, but not both? Or is there a use case for both?

LonelyCpp commented 2 years ago

yep, makes sense