Closed FroggieFrog closed 5 years ago
Please see related question #121
Thank you for your hint at #121 (I didn't find it).
But the original issue (when using in a VisaulBrush
is still present. So I propose to reopen it.
Check out https://github.com/unosquare/ffmediaelement/issues/121#issuecomment-358993066 You need to copy the image data to a WritableBitmap and use that WriteableBitmap as the visual brush. Does that not work?
Yeah, that works. But I would still consider it a workaround. But nevertheless: Thank you for your help! And even more thanks for your work! 🎉
Stretch is ignored when used as VisualBrush
When using the control
Unosquare.FFME.MediaElement
as a VisualBrush then theStretch
property is not working. If the control is used directly then evrything is working as expected.What I'm trying to achieve is to play the video on 2 different controls on different monitors. So the idea was to use a
VisualBrush
and use it on both controls. Maybe there is a better way I don't know of.Issue Categories
Version Information
Steps to Reproduce
Unosquare.FFME.MediaElemen
as the VisualStretch
toUniform
Expected Results
The Stretch property is respected.
Sample Code
XAML