Hey there @nedelev - sorry you’re having trouble with this. Assuming you’re having trouble on Android? Could you provide more information about the device you’re running this on? Pinging @sjchmiela for his expertise here.
Hello @nedelev! Is it a development-only problem (does it occur only while you’re developing your application) or does it happen also in production? Does the full reload of the experience help (button in the sticky notification)? Does it happen only on Android or does it happen also on iOS?
I forgot to remove this line when I was writing about this issue. I will edit it.
I’ve had a reference to Video object ref={ (v) => {this.videoRef = v} }
I played around and I tried to use this.videoRef.playAsync() in onLoad callback but it didn’t work.
There’s no error when I use Snack.
It’s only when I use Expo Client and I don’t have it every time. I couldn’t track a reason of it. I used same code and sometimes the video is loaded sometimes it’s not.
I thought that it could be related to CORS policy but I suppose it’s not since onLoad() callback is working.
I thought that I should restart app using exp start but it didn’t work as well.
And after re-saving application a couple of times it worked. With same code as it’s been before. But it’s stopping rendering after I make some changes. And it’s not working after I undo all of the changes and save.
And there’s no console error. There are always those lines
23:18:27: start
23:18:27: loaded
But it’s not logging console.log(params);
I’ve tried different videos and there’s still some problem. .onReadyForDisplay() is not been executed sometimes.
I’ll try to run it on a couple different devices and to track a problem.