react-native-video-player icon indicating copy to clipboard operation
react-native-video-player copied to clipboard

Fullscreen mode not working in android ,loader should be there while loading the video

Open kapilmyakal opened this issue 3 years ago • 4 comments

Hii @cornedor , Video Fullscreen mode is working on ios, but not in android it will not show that option Please implement this option ASAP. Thank You can you please implement the loading feature , need to show the loader while loading the video

react-native-video-player:"^0.12.0" react-native-video:"^5.2.0"

kapilmyakal avatar Mar 17 '22 14:03 kapilmyakal

++++ same

acarkaan avatar Apr 04 '22 14:04 acarkaan

i didnt see the loader, only black screen

fukemy avatar May 16 '22 10:05 fukemy

same

kd7600 avatar Jan 24 '23 05:01 kd7600

You can add custom loader on video, use <ActivityIndicator/> from 'react-native' as a loader or another you preferred. You can use onLoadStart() and onLoad() function props for start and stop ActivityIndicator (loader). See below code.

import VideoPlayer from 'react-native-video-player'; import { ActivityIndicator } from 'react-native';

const [loading, setLoading] = useState(false);

{loading && ( )} { setLoading(true); }} onLoad={() => { setLoading(false); }} />

muhammad-kumail avatar Sep 09 '23 12:09 muhammad-kumail