Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

142
Visualizações
Appearing green border around video

I am using react-native-video in my app for videos. Most of the videos are working as expected. But for some videos, a green border is appearing around the video.I don't know from where it is coming. Can someone please help me with this?

Green Border

Please check below source code

                     <View style={{
                        width:  160,
                        height:  270,
                        justifyContent:"center", 
                        alignItems: 'center',
                    }} >
                        
                        <Video
                            ref={(ref) => {
                                Player = ref
                       
                            }}
                            source={source}
                            ignoreSilentSwitch="ignore"
                            key={"key"+keyVal.toString()}
                           
                            style={{
                                width: 160,
                                height: 270,

                            }}
                            muted={false}
                            volume={1.0}
                          
                            resizeMode= {"contain"}
                            paused={isPaused}
                            onError={(error) => {
                            }}
                           
                            onReadyForDisplay={() => {

                            }}
                          
                            playInBackground={false}
                            playWhenInactive={false}
                        />

                    </View>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

it's maybe refer to your video style . at first change your video component style like this :

  style={{
            width: "100%",
            height: "100%",
         }}

if not work , you can change resizeMode of video component like stretch

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda