locked
Need Help on Live Streaming Code, Almost there

    Question

  • Hello Everyone,

                         i am creating c# based windows 8.1 app using visual studio 2013. I have created the app and used following code to show the dailymotion video which is appear to show fine.

    C#

    webView.NavigateToString("<iframe width='620' height='348' src='http://www.dailymotion.com/video/x248zn3' frameborder='0'></iframe>");

    XAML

    <WebView x:Name="webView" />

    Above works fine and i able to run the daily motion video to my app, above video is normal video no live streaming video.

    http://www.dailymotion.com/video/x248zn3

    However if i use same code and add this video which is live streaming video

    http://www.dailymotion.com/swf/video/x1sh6ok

    Then i receive this error

    DEVICE NOT SUPPORTED
    This Device Not Supported For Live Event

    Can any one tell why is this and what should i use to play live streaming of same site....

    Thanks

    Syed


    • Edited by MasterGraphiks Wednesday, August 27, 2014 2:08 PM corrected
    Wednesday, August 27, 2014 2:07 PM

Answers

  • From the "swf" in your URL this is probably a flash video file. Flash is not supported in Windows Store or Windows Phone, so the video cannot stream.

    There is no good way around this other than switching to a supported format at the source. If you understand the format you may be able to translate it with a MediaStreamSource. There are some third party samples you should be able to search for.

    --Rob

    Wednesday, August 27, 2014 6:04 PM
    Owner

All replies

  • Hi MasterGraphiks,

    I did live streaming application few times back with windows 8. I used Media element control and pass the Live Stream URL to it as source. I working perfectly. Don't need to have more troubles with web Views and Iframes

    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.

    ---------------------------------------

    M Prabath Maduranga Peiris
    Microsoft Student Partner
    Blogs : prabathsl.blogspot.com

    Wednesday, August 27, 2014 4:52 PM
  • Use media element and please study api's for developers which dailymotion has provided so that we can use them and stream videos in our apps 

    please check this link:

    http://www.dailymotion.com/developer

    i hope this will help you out ...and please mark as answer if found useful...........

    Muhammad Asad

    Microsoft Intern

    Wednesday, August 27, 2014 5:55 PM
  • From the "swf" in your URL this is probably a flash video file. Flash is not supported in Windows Store or Windows Phone, so the video cannot stream.

    There is no good way around this other than switching to a supported format at the source. If you understand the format you may be able to translate it with a MediaStreamSource. There are some third party samples you should be able to search for.

    --Rob

    Wednesday, August 27, 2014 6:04 PM
    Owner
  • Any Working Example Please of Media Element and how to use the url rather then local file in Media Element ?
    Friday, August 29, 2014 12:08 PM
  • Your problem is the specific URL you are using provides an unsupported format. The same code connecting to a URL providing a supported format it would have worked.
    Wednesday, September 17, 2014 1:19 AM
    Owner