TheWidlarzGroup / react-native-video

A <Video /> component for react-native
http://thewidlarzgroup.github.io/react-native-video/
MIT License
7.11k stars 2.88k forks source link

[Android] video restarts when change orientation by react-native-orientation-locker #3439

Open hasan642 opened 8 months ago

nicolaosm commented 7 months ago

This bug is actually happening! Can you please confirm @KrzysztofMoch on your end too?

nicolaosm commented 7 months ago

Bug

Platform

Which player are you experiencing the problem on:

Environment info

Library version: V6 Beta 3 Device: Several Android Emulators Using react-native-orientation-locker library.

Steps To Reproduce

  1. Play video
  2. Rotate between portrait and landscape.
  3. It will restart the video

Expected behaviour

  1. Video continues to play even when we rotate between portrait and landscape. Should not restart the video
Aliatore commented 6 months ago

Same here in version

react-native-orientation-locker -> 1.6.0 react-native-video -> 6.0.0-beta.0

freeboub commented 2 months ago

can you please retest on last last V6.2.0 release ? if reproduced, a sample would be very usefull !