I have an element:
<MediaElement x:Name="bgvideo" Width="800" Height="600" />
and I have a stream video:
Stream stream = obj.GetFileStream();
I want to use stream object to source of MediaElement
, but default MediaElement
use source
attribute.