You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a catalog of handpicked videos, and the whole app is basically 2 screens: a list and details (player) view.
Reproducing steps:
Play random 9x16 video
Navigate to list and open next video (which is vertical)
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.
Is there a way to reset player instance?
Or maybe the way to force reloading the video metadata?
Any other hacks and tricks to force a player to stretch the video properly
The text was updated successfully, but these errors were encountered:
webdevbyjoss
changed the title
[Android] Video is played with wrong aspect ratio
[Android] Video is played with wrong aspect ratio in some cases
Nov 28, 2018
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.
The text was updated successfully, but these errors were encountered: