Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: MediaPlayer Proportional


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


Permlink Replies: 0 Threads: [ Previous | Next ]
Andrew McIsaac

Posts: 91
Registered: 3/12/13
MediaPlayer Proportional  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 4, 2017 12:10 AM
Good morning,
Using XE8 C++ Builder, Windows 10, and Target = VCL Win32

I have a MediaPlayer application, used the examples found at
http://docwiki.embarcadero.com/CodeExamples/Tokyo/en/MediaPlayer_(C%2B%2B)

Two Buttons, one to start, one to stop - simple enough.
I further added a Panel and set properties MediaPlayer1->Display=Panel1
This puts the video within the Panel1 which I resize.

Works, but can only see a portion of the Video i.e. top left only fits on the smaller panel.
Is there a way to scale this to fit?
Have tried mediaPlayer1->Display -- autosize= true, but no success.

Thanks in advance,
Andrew
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02