Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the current features #1

Open
SuperJMN opened this issue Apr 14, 2022 · 2 comments
Open

Question about the current features #1

SuperJMN opened this issue Apr 14, 2022 · 2 comments

Comments

@SuperJMN
Copy link

First of all, thanks for your effort to make this a reality!

I would like to know if it's possible to place controls on top of the video rendering surface, so you could get an overlay with any layout over the playing video.

@radiolondra
Copy link
Owner

radiolondra commented Apr 15, 2022

Yes, you can add a layer on top of the player, sufficient to show/hide a set of controls to drive the player.

For more info you can give a look at the links below.

There, you'll find also screenshots of the POC videoplayer with a very simple player controls layer on the top of the player with trasparencies to show the abilities of this new LibVLCSharp for Avalonia.
The same code has been successfully tested on Windows, Linux, MacOS and Raspberry Pi with DietPi OS.

AvaloniaUI/Avalonia#2571 (comment)
AvaloniaUI/Avalonia#6237 (comment)

Note: if you build YAMP2 and run it, you will find a complete controls panel layer (UserControl) to drive the video to play (the player is another UserControl over the main window) at the bottom of the player with animations, shown/hided using mouse events (Enter/Leave).

@radiolondra
Copy link
Owner

If your question was instead about "add text, images,... objects on top of the player, for example, a text object appearing from frame X to frame Y with some sort of animation and with editable properties you can change dinamically" the answer actually is: No. Actually.
Maybe in the next future if the request will grow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants