Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!