Hi guys i am trying to play vertical video on target.
// Get the video width and height
int videoWidth = mVideoPlayer.GetVideoWidth();
int videoHeight = mVideoPlayer.GetVideoHeight();
if (videoWidth > 0 && videoHeight > 0)
{
// Scale the video plane to match the video aspect ratio
float aspect = videoHeight / (float) videoWidth;
// Flip the plane as the video texture is mirrored on the horizontal
transform.localScale = new Vector3(-0.1f, 0.1f, 0.1f * aspect);
}
This is part of code to change. Anyone help me pls ?
Hi david
I want play video on target. and thats working but not full screen.
my problem is http://s10.postimage.org/8ma5tqint/sssadsda.png
Thank you again david.