MediaElement background RRS feed

  • Question

  • Hi.

    I'm have a  strange problem with video in MediaElement. I have placed ME on grid with black background, so empty screen space when playing wide video (panels at top and bottom of the screen) should be black, but sometimes it's black, sometimes white. Even stranger is that sometimes i see there previous screen (even when 'content grid' is hidden when playing video).

    Currently i have:

    <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Background="Black">
      <MediaElement x:Name="MediaEl" />

    Where i can set color for MediaElement, when parent grid background color is ignored ?

    Tuesday, January 15, 2013 1:35 PM

All replies