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

Full Screen Video not full screen until it loops. #375

Closed
awitherow opened this issue Nov 10, 2016 · 4 comments
Closed

Full Screen Video not full screen until it loops. #375

awitherow opened this issue Nov 10, 2016 · 4 comments
Labels
stale Closed due to inactivity or lack or resources

Comments

@awitherow
Copy link
Contributor

awitherow commented Nov 10, 2016

I've got a video that I've made a fullscreen video within a container.

Our team has recently upgraded to "react-native": "0.37.0" and this bug appeared after.

jsx

<Video
    source={video}
    resizeMode="cover"
    repeat
    style={styles.video}
/>

styles

    container: {
        flex: 1,
        justifyContent: 'flex-end',
    },
    video: {
        position: 'absolute',
        top: 0,
        left: 0,
        right: 0,
        bottom: 0,
        backgroundColor: '#000',
    },

What happens is the video has a small bit of what appears to be margin of about 10px or so around the left and right edges. After the video loops through once, the video does an animation as it stretches to fill the background space.

Any ideas where to start hunting for this?

@diehell
Copy link

diehell commented Nov 17, 2016

I got this too. Any solution?

@diehell
Copy link

diehell commented Nov 18, 2016

<Video
    muted
    source={video}
    resizeMode="cover"
    repeat
    style={styles.video}
/>

Muted works for me, im using it as a background anyways

@mkdotcom
Copy link

i don't undestand, using "muted" makes this bug to disappear? i tried but it doesn't change anything on my app

@IbrahimSulai
Copy link
Contributor

Opened a PR (#1730) for full-screen support in Android Exoplayer.

@hueniverse hueniverse added the stale Closed due to inactivity or lack or resources label Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Closed due to inactivity or lack or resources
Projects
None yet
Development

No branches or pull requests

5 participants