Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kapilmyakal opened this issue Mar 17, 2022 · 4 comments

Comments

@kapilmyakal
Copy link

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"

@acarkaan
Copy link

acarkaan commented Apr 4, 2022

++++ same

@fukemy
Copy link

fukemy commented May 16, 2022

i didnt see the loader, only black screen

@kd7600
Copy link

kd7600 commented Jan 24, 2023

same

@muhammad-kumail
Copy link

muhammad-kumail commented Sep 9, 2023

You can add custom loader on video, use 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); }} />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants