流媒体,Youtube和离线视频播放器组件的反应。

时间:2022-02-16 15:06:53

I m looking for a video player library in react-native that could

我想找一个能在电抗器中使用的视频播放器库。

1) Play Youtube videos. 2) Stream online video via streaming links. 3) Offline videos saved in the device. 4) with Video control UI.

1)播放Youtube视频。2)通过流媒体链接流在线视频。3)设备中保存的离线视频。4)视频控制UI。

tried using react-native-video & react-native-media-controls for my app but react-native-video doesn't support youtube videos and react-native-media-controls has a buggy video control UI.

在我的应用程序中,我尝试使用“反应-本机-视频”和“反应-本机-媒体控制”,但“反应-本机-视频”不支持youtube视频,而“反应-本机-媒体控制”的视频控制界面也有漏洞。

Open for an alternate suggestions for the same implementation.

为相同的实现打开另一个建议。

1 个解决方案

#1


1  

Uses Google's official youtube-ios-player-helper for iOS and Android Player API for Android and exposes much of the API, as declaratively as possible, into React Native.

使用谷歌官方的youtube-ios-player-helper为Android操作系统和Android播放器API,并尽可能公开地暴露了大部分API,并将其作为本地反应。

https://github.com/inProgress-team/react-native-youtube

https://github.com/inProgress-team/react-native-youtube

#1


1  

Uses Google's official youtube-ios-player-helper for iOS and Android Player API for Android and exposes much of the API, as declaratively as possible, into React Native.

使用谷歌官方的youtube-ios-player-helper为Android操作系统和Android播放器API,并尽可能公开地暴露了大部分API,并将其作为本地反应。

https://github.com/inProgress-team/react-native-youtube

https://github.com/inProgress-team/react-native-youtube