Expo Video is not looping


#1

I have a simple Expo Video component that takes in video uri from a redux store, once recording is finished I display the video component.
The uri is as such:
{uri: "file:///var/mobile/Containers/Data/Application/E14…r/Camera/EC07A10E-D495-400F-ADA1-37D6296C0DC8.mov"}

And the render function is as such

const uri = this.props.camDataReducer.uri;
<Video
          source={{ uri }}
          rate={1.0}
          volume={0}
          isMuted={false}
          resizeMode="cover"
          shouldPlay
          isLooping
          style={{ width: '100%', height: '100%' }}
 />

System:

"expo": "^23.0.4",
"react-native": "https://github.com/expo/react-native/archive/sdk-23.0.0.tar.gz"

Problem is the Video is not looping and only shows the first frame almost like its stuck, I’m testing on IOS device via Expo App, whats the problem please?
Thanks.


#2

Hey @mrshakes,

Do you think you would be able to produce a minimal, verifiable example of this issue using Snack? https://snack.expo.io/

Often times doing so will allow you to find what the issue is and if not, you likely have discovered a bug on our end and that example will help us squash it quicker. Also of note, I have a project running SDK25 that uses a Video component that uses a uri from a redux store that loops as expected.

Cheers,

Adam


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.