Yes. So you ask and yourself answer the question ... But this is one of two options that I can think of. The reasons that may be the problem are that you lose some of the features / controls that you get from the MediaElement control. Another option is to do this:
- Add MediaElement to your page.
- Draw a rectangle above it and set the desired angular radius.
- Right-click the rectangle in Blend and select Create Clipping Path.
- Apply the clipping path to the media item
That way, you still use the MediaElement control, but you can โpinโ it so that you want the desired rounding effect.
This example shows a trimmed MediaElement. I know that itโs not easy to imagine a vector path, but if you open it in Blend, you will see a rounded MediaElement.
<MediaElement Height="132" Width="176" Source="Egypt2007.wmv" Clip="M0.5,24.5 C0.5,11.245166 11.245166,0.5 24.5,0.5 L151.5,0.5 C164.75484,0.5 175.5,11.245166 175.5,24.5 L175.5,107.5 C175.5, 120.75484 164.75484,131.5 151.5,131.5 L24.5,131.5 C11.245166, 131.5 0.5,120.75484 0.5,107.5 z"/>
source share