Videos not playing in MediaElement control Windows Phone 8.1

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?

Hi,You can use following code to play video 
<MediaElement Name="detailVideo" AreTransportControlsEnabled="True" MediaFailed="detailVideo_MediaFailed" Height="200" Grid.Row="1" AutoPlay="False"
Source="Video_link"/>
Where Source=video store link ,eg."/Assets/Rock.wav"
and
<Button x:Name="playdetailVideodButton"
Height="80"
Width="200"
Content="Play Video"
Click="playdetailVideoButton_Click" />
and when user click on play button then playing Video,
private void playdetailVideodButton_Click(object sender, RoutedEventArgs e)
detailVideo.Play();
Don't
forget to mark the right answer and vote up if helps you.

Similar Messages

  • Timeline Video Video Not Playing Under Only One Windows Profile

    Hello.  We have an Adobe CS6 install with Premiere Pro version 6.0.5 installed and fully updated.  The problem we are having is that the video playback from the timeline is not working when logged in under one Windows profile only.  The software was originally installed under the "administrator" profile and that is where everything works fine.  However, when Premiere is brought up under the user profile the video playback doesn't work.  I have updated CS6, the video card drivers (NVidia Quadro KV4000), cleaned as many Windows and Adobe caches and verified that the Premiere General Settings are the same under each profile.  Both profiles are domain logins and not local machine profiles and both users have been explicitly granted full administrator rights on the computer.  This issue also just cropped up under the user profile and didn;t occur after initial computer setup in November.  Does anyone have any idea what else we can try?  Thank you, and here are more specs:
    - HP Z820 workstation w/ 3.3GHX Xeon E5-2643 quad core
    - Win 7 64-bit
    - 16GB RAM
    - 1TB 10000RPM boot/system drive
    - 2TB 10000RPM reserved solely as "source" drive for Premiere files
    - 2TB 10000RPM reserved solely as "destination" drive for Premiere files (preview files stored on this drive)
    - external Canopus ADVC110 used for capture of analog video using FireWire connector

    profiles are domain logins and not local machine profiles
    That's often been a problem with Adobe software.

  • Video not play on phone

    Mp3 play but video not play my phone
    my Email add. [email protected]
    Moderator's note: E-mail address was removed. Please don't publish your personal contact information on a public forum.

    sharankumar1, which phone model do you use? Nokia phones are a bit picky about the file content, the codec. If you tell me your model, I tell you the available codecs. In the meantime, you have to convert your videos …

  • I'm running Windows XP and FF 8.0. I'm having more trouble than ever with intermittent streaming and videos not playing all the way through. What is the easiest way to fix this?

    . I'm running Windows XP and FF 8.0. I'm having more trouble than ever with intermittent streaming and videos not playing all the way through. What is the easiest way to fix this?

    That may be a problem with the VLC plugin. VLC has never worked for me properly on the occasions that I've tried it on Windows and Linux, so I have stop using it. There are usually other plugins or media players available that work better.
    What kind of media files are that?
    For WMP files you can install the new Windows Media Player plugin you can also try RealPlayer and QuickTime if it is about media that those programs can handle to see if that works better.
    * https://support.mozilla.com/kb/Using+the+Windows+Media+Player+plugin+with+Firefox
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
    * http://www.interoperabilitybridges.com/windows-media-player-firefox-plugin-download

  • U310 Touch - Videos not playing after 8.1 Update

    Hello,
    I have updated from Windows 8 to 8.1 and updated all my drivers on my U310 Touch.
    However, I seem to have a problem with web based videos not playing videos on the internet.
    This seems to happen on every kind of web browser, including IE, Firefox, Chrome, and even Steam.
    If anybody knows how to fix this problem, that'll be great.
    Thanks in advance.

    Since the upgrade to 8.1.1 my iPhone 6 stopped recognising the fingers I had stored. I've deleted and addrd them again (which went as norma) and it still has problems recognising them. Seems very intermittent now, whereas before this upgrade was very reliable.
    I've  reverted to a pin code :-(

  • Yahoo video and other video not playing

    Yahoo and other video not playing in firefox 37.0.2
    They played automatically 5 days ago....since then video screen is blank...no 'play' button
    I have updated Flash several times
    Tried to play these videos on IE....don't play there either.
    Thanks for your help!

    Note that your System Details List shows multiple Flash plugins.
    # Shockwave Flash 15.0 r0
    #Shockwave Flash 17.0 r0
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    *http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins
    You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\
    You can find the latest Flash player versions for Firefox on this page:
    *http://www.adobe.com/special/products/flashplayer/fp_distribution3.html

  • My daughter has created an imovie for a school project, last time she did this and downloaded it onto her memory stick the teach could not play it on their windows pc, how do we convert it or change it so the teacher can play.  thank you

    my daughter has created an imovie for a school project, last time she did this and downloaded it onto her memory stick the teach could not play it on their windows pc, how do we convert it or change it so the teacher can play.  thank you

    Meg\'s Dad wrote:
    …  I assume this format is what is needed to play on the class "Smart Board" also? …
    here in ol' Europe, school boards use chalk and are not smart …
    h264.mp4 is actually the most common 'standard' (4000 video 'standards' aaaaand counting)
    mp4 is indeed universal (Mac, Windows, Linux), and since YouTube, the h264 codec has a good installed base .....
    you can bump into probs only when it comes to sheer amount of data:
    for instance cheap 'digital frames' are sortof over-whelmed, if you try to playback 720/30p in high quality.
    I'm not familiar with 21st cent devices as SmartBoards ... again, it could happen, you have to reduce resolution/fps/bit-rate to avoid clutter&stutter in the video.
    I'm using such encoded files successfully on Playstation3, WD HD TV or flatscreenTVs with integrated usb-connection (via stick), etc
    imho, it should work welll .............. < fingers-crossed >

  • When using ipad4, why do videos not play on Google?  Audio works fine

    WWhen using ipad,why do videos not play on Google? Audio still plays. I have reset the Google app and it will be ok for short time but then reverts back to not playing videos.

    Hi Vernon70,
    Welcome to the Apple Support Communities!
    I understand that an application you downloaded from the App Store, Google, is not functioning as you would expect. In this situation, I would recommend following the troubleshooting steps outlined in the attached article. 
    If an app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    Best regards,
    Joe

  • Embedded MP4 videos not playing in iOS Safari

    Hi everyone,
    I'm having a problem with embedded MP4 videos (e.g. YouTube videos) not playing correctly in Safari. When I try to play one, I get one of two problems:
    1. On my (first gen) iPad, Safari usually crashes.
    2. On my iPhone 4, videos will load but only play audio, not video, though when I tap on the screen the "play" and "pause" symbols appear.
    Has anyone else run into this problem? Or know how to fix it?
    Thanks,
    Mike

    Ok, I fixed it. Go to some embedded Flash video, click to run and then right click to get Global Settings for Flash. Go into Storage and make sure you aren't blocking any data from being stored on your computer. At the very least choose the "ask me" setting. (For good measure I also went into Advanced and clicked to Delete All Data associated with Flash. But when I restored Block for data storage the videos stopped working, so that seems to be the answer.) I'd be interested to hear if this works for others.

  • Why are my videos not playing the right way up

    Why are my videos not playing the right way up

    I took four video clips while on a trip this week.  Two are oriented the right way (playing wide on the device and imported correctly).  The other two are Tall and not oriented right.  Orientation is 90 degrees to the right.  I don't know why this is happening on occasions.  Even some pictures I took did the same **** thing.  It's weird.  And I can't figure it out.  The camera is held the way I want the pictures and videos to be recorded and played but something internal is turning these videos and pictures 90 degrees clockwise.

  • New Skype Emoji not appearing on Skype for Windows Phone

    Posted here because I couldn't select "Skype for mobile" in the Windows 10 Edge browser... I've noticed that emoji like (Windows10) do not appear in Skype on Windows Phone.  Instead, I see an empty white box.  I also don't see the text of the emoji. Seems like an issue with Skype for Windows Phone where the app understands that (Windows10) is an emoji, but can't find the image to display.   

    Please,  run the DirectX diagnostics tool (32-bit option only).
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • You tube videos not playing

    You tube videos not playing on safari, my flash player is up to date, i tried to refresh, quit safari, again tried to play, but every time it shows "an error has occurred, please try again later". I did almost everything to make it work but its not working... help needed

    Try deleting the cache and cookies for YouTube.

  • DVDSP Help - Video not playing in Viewer during some assets, only audio...

    Video not playing in Viewer during some assets, only audio until paused. once you hit the space bar or pause, the video shows up in viewer? same results when burnd to disc.
    when dragging cursor through out timeline (track 1) video shows up in viewer fine too.
    any advice on what could be wrong?
    at first i was thinking this was a memory problem, i added another Gig of ram and the problem still exhists.
    thanks!

    Hi Crazy Dan:
    It's a kind of bug in DVDSP Simulator. If you build your project in your hard drive and test it with DVD Player all video will play fine.
    I would like to tell you where exactly the problem is located, but it's just a Simulator problem.
    Try building your project.
    Hope that helps !
      Alberto

  • Facebook videos not playing on iPad Air(safari browser)

    Why do my Facebook videos not play in iPad Air(safari browser) but same video play nicely on iPhone 4(safari browser). It asks me to download flash player to play on iPad but plays fine on iPhone without giving any prompt to download flash player.

    You should not have trouble playing using the FaceBook app.

  • Not logging in from iPad/Windows Phone but logging in from pc browser

    Hi all, I just signed up for a premium account and I'm being able to log in by the web browser in my computer but not on my iPad or Windows Phone. Through the browser it works fine, but on the iPad or Windows Phone it always gives me 'login failed message'. I'm sure I'm putting the correct credentials. I'm not trying to log in via facebook. I've created an account specificaly for Spotify. I already redefined my password but it didn't work. Any ideas? Tks

    Hello , Welcome to the Community! :)
    Are you sure you are entering your username and not your email when attempting to log into the Ipad app? 
    I hope this helps! :)

Maybe you are looking for

  • Oracle cluster installation problem

    hi forums i need experienced one to discuss with me about this problem and help me to put plan i install oracle cluster ware 10.2 on my lab first i install VMWare Workstation 6.5-7x and i install windows server 2003 and do this configuration -create

  • Obvious Error in APEX 4.1

    Hi friends, While trying to use APEX 4.1, im facing the below error then and there Error     ORA-01403: no data found Technical Info (only visible for developers)     * is_internal_error: false     * ora_sqlcode: 100     * ora_sqlerrm: ORA-01403: no

  • Acrobat Pro 6 Commenting tools disappear

    Hi. One of our big clients are experiencing some, for me at least, strange problems. A while ago the two tools, Commenting, and Advanced commenting started to disappear from the Tools menu. When they reinstall Acrobat 6 it is there again , but after

  • Can we fire plug-ins in ess mss

    can we fire plug-ins in ess mss and what are plug-ins and how can they be fired

  • Upgrade FM conversion

    hi all , i am upgrading the SAP system from 4.6 C to ECC 6.0 , i met this funciton , i know i should use REUSE_ALV_GRID_DISPLAY or REUSE_ALV_GRID_DISPLAY_LVC , but the function is totally diffrent i think , could you give some tips about the conversi