WPCubed Product Support

How to insert video player into text?

Hi,

I need to place video player inside WPTools editor with the play and stop functionality. Something like image object but with (for example avi) video file assigned. I will also need to have some buttons to control the start, stop and play functionality.

What is the best way to have it done? I have idea to create Image descendant and make some work on saving and loading video file and to show first screen of the video together with buttons. But I have no idea how to show video inside the bitmap object - while playing. I can only play the video in separate window. Is it possible to embed TMediaPlayer as a object?

Thanks for your answer.

Petr Slipek

#1 ♥ 0
3k Views 2 users read 1 min
support

Hi,

embedding is not possible. WPTools uses virtual, scaled drawing.

But You can create an image object and trap the click on it. See the OnTextObject click event for example.

Julian

#2 ♥ 0

Thanks, I will try the image object way.

Petr.

#3 ♥ 0
This category is archived. No new posts are possible.