Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

154
Vistas
Play multiple videos like tiktok?

I am trying to find a way to play multiple videos, in array, at the same time. Here is an example:

enter image description here

If you have been on TikTok, you know usually those videos are playing at the same time. I am trying to accomplish something like that. Here is some of my code:

  <FlatList
              data={data.vidSlide}
              horizontal={true}
              renderItem={({ item }) => (
                <Pressable onPress={() => navigation.navigate('Video', { Video: item })}>
                  <View key={item.id} style={{ flexDirection: 'row', paddingRight: 5 }}>
                    <Video
                      source={{ uri: item.video }}
                      ref={lo}
                      style={{ borderRadius: 7, width: 115, height: 175 }}
                      onPlaybackStatusUpdate={status => setStatus(() => status)}
                      onLoad={() => lo.current.playAsync()}
                      resizeMode="cover"
                      isLooping
                    >
                    </Video>
                  </View>
                </Pressable>
              )}
            />

This did not work. It showed all the videos, but only one video actually played. I have a feeling it has something to do with the "ref" though. How can I fix this?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda