-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing setVideoScalingMode #62
Comments
Yes, MPX does not implement the To maintain the aspect ratio, you can extend the If you want cropping, then there is currently no other way than to also override Btw. it is recommended to use |
this is stupid your view should handle it. what i now got from your lib is basically the same as the one from android. stretched video and nothing else. |
Thank you for this very productive and enlightening comment, and good luck with your future endeavors. |
Hi,
thanks for the great library!
I'm trying to implement your mediaplayer library and it's good but i have one problem.
( put video on textureview using mediaplayer )
I'm currently building app using portrait only mode, and it's ok when I load landscape video (scaled and no distortion) - same as default mediaplayer,
but when I load portrait video, aspect ratio not maintained
android default mediaplayer has setVideoScalingMode(MediaPlayer.VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING) method
but I can't find corresponding method in MediaPlayer-Extended library.
Is there any way to resolve this? Any help would be really appreciated!
Best,
JP
The text was updated successfully, but these errors were encountered: