Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: MediaPlayerControl Size Limitation?


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Jan 1, 2017 3:19 PM Last Post By: Andrew McIsaac
Andrew McIsaac

Posts: 93
Registered: 3/12/13
MediaPlayerControl Size Limitation?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 31, 2016 1:56 PM
Good afternoon, happy new year,
I am working with C++ XE8 Enterprise, Windows 10,
On a form within MultiDecvice application, I have a MediaPlayer, and a MediaPlayerControl, within a Panel.
Alignment of MediaPlayerControl is Client, to be the size of the panel.
I play an *.avi video within the panel, all works. I would like to enlarge the video, to be 1920 x 1080, the Panel will but the video will not enlarge past approx. 960 x 540 ?
I do not know where the size maximums are being set or limited, or why ?

Also if I play the video outside of the compiler, windows media player it will go to the 1920 x 1080.

Thanks in advance,
Andrew
Andrew McIsaac

Posts: 93
Registered: 3/12/13
Re: MediaPlayerControl Size Limitation?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 1, 2017 1:33 PM   in response to: Andrew McIsaac in response to: Andrew McIsaac
Continued:
I have tried both :
MediaPlayerControl1->Size->Height=1080;//
MediaPlayerControl1->Size->Width=1920;//
And
MediaPlayerControl1->Height=1080;//
MediaPlayerControl1->Width=1920;//

Don't know why there are two sets for this, but both are unsuccessful.

Thanks,
Andrew
Andrew McIsaac

Posts: 93
Registered: 3/12/13
Re: MediaPlayerControl Size Limitation?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 1, 2017 2:40 PM   in response to: Andrew McIsaac in response to: Andrew McIsaac
Been testing,
if file type = *.avi, then size problem exists, I can not enlarge to full screen,
But if it is a mp4, then can go bigger but flashes horribly, making it unviewable.

Any ideas ?

Thanks
Andrew
Andrew McIsaac

Posts: 93
Registered: 3/12/13
Re: MediaPlayerControl Size Limitation?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 1, 2017 3:19 PM   in response to: Andrew McIsaac in response to: Andrew McIsaac
Windows 10, was re-installed recently....
After running the Codec updates, (https://www.mediaplayercodecpack.com/) working wonderfully now.

Thanks to anyone who was looking into.

Andrew
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02