Please provide the following:
- SDK Version:34.0.4
- Platforms(Android/iOS/web/all): all
I’d like to add multiple youtube videos on a screen. How can I do this?
Option a) Using a YouTube API / react-native-youtube
PRO: seems easy to implement: A YouTube component for React Native
CON: I’d have to detach my app from expo - ios - How to play Youtube videos using Expo - Stack Overflow
Option b) Using Webview
PRO: don’t have to detach to use
CON: seems Apple deprecated UIWebView and WebView last month (2019).
Option c) Using a gif instead of video
PRO: seems easy implementation with the Facebook Fresco library
CON: would have to detach from expo
I’m new to RN dev so sorry if this is a noob question. Since I dont know what I dont know, figured i’d ask. Please let me know if I’m missing anything or not clearly understanding the implications.
Just fyi, I’m not picky whether a screen with thumbnails takes users to another screen which plays the video individually (in app), or if users play the videos on the initial screen. The latter, I was hoping would work with gif but realized I would have to detach.
I’m am worried about detaching from expo, because I don’t know clearly my way with the bridge files, as I’ve been working under a ‘managed workflow’ this whole time, and don’t want to screw something up that’s big time.
Looking forward to hearing your suggestions.
Thank you v much.