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

Background image shows in android when video is playing #184

Open
oneeb-asad opened this issue Sep 4, 2024 · 0 comments
Open

Background image shows in android when video is playing #184

oneeb-asad opened this issue Sep 4, 2024 · 0 comments

Comments

@oneeb-asad
Copy link

WhatsApp Image 2024-09-04 at 16 32 28 (1)

While playing video in android the image is showing which i need to remove what should i do?

    <Wrapper style={[styles.postImageStyle, { overflow: 'hidden' }]}>
      <VideoPlayer
        video={{ uri: videoUri }}
        thumbnail={{ uri: generatedThumbnail }}
        style={{ width: '100%', height: '100%' }}
        showDuration
        pauseOnPress
        fullScreenOnLongPress
        // resizeMode="stretch"
        customStyles={{
          controls: {
            borderBottomLeftRadius: 20,
            borderBottomRightRadius: 20,
          },
          seekBar: {
            height: 8,
            borderRadius: 4,
            overflow: 'hidden',
          },
          seekBarProgress: {
            backgroundColor: COLOR.primaryColor,
          },
          seekBarKnob: {
            backgroundColor: COLOR.primaryColor,
          },
        }}
      />
    </Wrapper>
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

1 participant