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

Delay on video start #105

Closed
sourabhdadapure opened this issue Nov 29, 2018 · 8 comments
Closed

Delay on video start #105

sourabhdadapure opened this issue Nov 29, 2018 · 8 comments
Labels
bug stale Closed due to inactivity or lack or resources

Comments

@sourabhdadapure
Copy link

sourabhdadapure commented Nov 29, 2018

there's a two second delay on Video start when clicked on the play button. Is this the default behavior?

My code

<VideoPlayer
    ref={r => (this.player = r)}
    video={{uri:VideoURI}}}
    thumbnail={{uri:ThumbnailURI}}
    resizeMode="cover"
    autoplay={false}
    endWithThumbnail
    disableBack
    disableFullscreen
    pauseOnPress
    playInBackground={false}
    style={{
	width: scale(295),
	height: verticalScale(200),
    }}
/>
@abishekraj
Copy link

Same issue! Any fixes yet ?

@harishsn
Copy link

Same issue

@sourabhdadapure
Copy link
Author

sourabhdadapure commented Oct 22, 2019

@abishekraj @harishsn
no, I ended up using react-native-video

@TheDanielMoli
Copy link
Collaborator

Is this happening on iOS, Android or both?

@dushyantgadhia
Copy link

dushyantgadhia commented Feb 1, 2021

Is this happening on iOS, Android or both?

Both

@TheRav3n

@dushyantgadhia
Copy link

dushyantgadhia commented Feb 4, 2021

@sourabhdadapure @harishsn @abishekraj

This worked for me.

import convertToProxyURL from 'react-native-video-cache';

<VideoPlayer
    ref={r => (this.player = r)}
    video={{uri: convertToProxyURL(VideoURI), cache: true}}
    playInBackground={false}
    automaticallyWaitsToMinimizeStalling={false}
    rate={1.0}
/>

Copy link
Contributor

github-actions bot commented Jan 7, 2025

This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically.

@github-actions github-actions bot added the stale Closed due to inactivity or lack or resources label Jan 7, 2025
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale Closed due to inactivity or lack or resources
Projects
None yet
Development

No branches or pull requests

5 participants