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

136
Views
Aparece un borde verde alrededor del video

Estoy usando react-native-video en mi aplicación para videos. La mayoría de los videos funcionan como se esperaba. Pero para algunos videos, aparece un borde verde alrededor del video. No sé de dónde viene. ¿Puede alguien por favor ayudarme con esto?

borde verde

Por favor, compruebe el código fuente a continuación

 <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

tal vez se refiera a su estilo de video. al principio, cambie el estilo de su componente video de esta manera:

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

si no funciona, puede cambiar resizeMode de cambio de tamaño del componente de video como 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!