Platform: Android only
Versions:
Example of vertical video: https://www.youtube.com/watch?v=qr64OXFDD7A
I'm building a catalog of handpicked videos, and the whole app is basically 2 screens: a list and details (player) view.
Reproducing steps:
Actual: Video is stretched

Expected: Video played with proper aspect ratio

The workaround: navigate away from the screen (player control is unmounted) and return back to the exact same video (player control is mounted again) - now the video is refreshed and plays with proper aspect ratio as expected.
I may be wrong, but It feels like video player on Android (which is singleton?) doesn't refresh video metadata in this particular case, and does that when the video is played for the second time.
Same problem
A somehow similar outcome is observed when entering fullscreen mode and returning back: https://github.com/inProgress-team/react-native-youtube/issues/345
Still didn't managed to fix the issue.
Did anyone find the solution for this issue? I am also having same problem.
you can check if c9a0c38c1799f7cfb7d3ad9435ad834c52ba56d8 does the trick for you
Most helpful comment
Did anyone find the solution for this issue? I am also having same problem.