Replies: 9 comments
-
The video player is based on the "native" implementation of FMX controls, so it supports z-ordering within other "native" controls |
Beta Was this translation helpful? Give feedback.
-
I can’t figure out right away how I can display, for example, an image over a video?
video over image ( the same video player from Alсione based on the old echoplayer outputs a video texture with support for z-order and the picture is drawn on top, how to implement this correctly here? |
Beta Was this translation helpful? Give feedback.
-
That's because Alcinoe uses a control based on TRectangle to display the video (which results in poorer performance), hence you're able to use regular FMX controls on top. If you want to overlay controls on TVideoPlayer in Kastri, you'll need to use the "native" controls, such as |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your answer!
|
Beta Was this translation helpful? Give feedback.
-
It should just be: Image.LoadFromFile(DocumentPath+'fire.png'); |
Beta Was this translation helpful? Give feedback.
-
it doesn't work either |
Beta Was this translation helpful? Give feedback.
-
You need to turn on Secure file sharing: I'll update the readme to reflect this, thanks! |
Beta Was this translation helpful? Give feedback.
-
thank you! it worked. var Bitmap: TBitmap; or Image.Image.SetSize(Bitmap.Width, Bitmap.Height); I would like to create my own bitmaps and draw them on the TNativeImage over the video |
Beta Was this translation helpful? Give feedback.
-
I've now pushed changes that will fix this, however the code will need to be: Image.Image.Assign(Bitmap);
Alcinoe has its fair share of issues. |
Beta Was this translation helpful? Give feedback.
-
Please tell me if the videoplayer supports z-ordering?
a very useful thing
Beta Was this translation helpful? Give feedback.
All reactions