locked
Videos not playing in MediaElement control Windows Phone 8.1

    Question

  • I am developing an app in which I need to play youtube videos. I am using MediaElement control. But it does not play video at all and shows error message and mediafailed event prints this error

    MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED : HRESULT - 0xC00D36C4

    My code is 

                

    <MediaElement Name="detailVideo" AreTransportControlsEnabled="True" MediaFailed="detailVideo_MediaFailed" Height="200" Grid.Row="1" AutoPlay="True"/>
            detailVideo.Source = new Uri(vObj.video_link, UriKind.Absolute);

    Can anybody help?

    Friday, March 13, 2015 11:18 AM

Answers

All replies