Question about MediaElement video streaming from OneDrive public directory in Windows Store apps C# RRS feed

  • Question

  • Hi,

    Does MediaElement in Windows Store apps C# will support streaming videos from OneDrive via https protocol, because I tried firstly in that way:

    <MediaElement x:Name="MediaElementNo1" Margin="100,140,100,85" Source="..."/>

    then in that way with programmatically (two ways) but no luck:

                MediaElementNo1.PlayToPreferredSourceUri =

    new Uri("https://...", UriKind.Absolute);


                MediaElementNo1.Source =

    new Uri("https://...", UriKind.Absolute);

    and yes the video is in public directory and link created via OneDrive service

    The error message is always the same "Unsupported video type or invalid path", but my video is in mp4 h.264 format and it plays in locally but not from OneDrive (server), I can't found that if there is possible to disable https from OneDrive service under my account settings.

    So any help would be much appreciated.

    Saturday, April 5, 2014 4:46 PM


All replies