So I am working on an app, that needs to play music. But in India, there are no API's which I can use. So I am thinking about using youtube to stream videos and play their music. Do you think this approach is appropriate? and does anyone know how to implement it in react native?
Thanks :D
Jason Knight
The less code you use, the less there is to break
What do you mean "no api's to use". What's wrong with just hosting the files and using the audio/video/object tags in HTML?
As to youtube embeds, what would you even be MAKING "react native" other than the same iframe tag 99%+ of the world uses?
developers.google.com/youtube/player_parameters
Or are you looking to implement custom controls atop it? If so go with self hosting and the VIDEO tag, get in there and write the thing...
See, this is why... well... I'll skip the rant about how frameworks like react causes ... things.