Read .SRT file in Media Player

4 posts, 0 answers
  1. Manuel
    Manuel avatar
    61 posts
    Member since:
    Oct 2011

    Posted 05 Jan 2012 Link to this post

    Hi there,

    Is already possible read .SRT files in silverlight player?

    Thanks,
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 10 Jan 2012 Link to this post

    Hi Manuel,

     The RadMediaPlayer simply wraps a collection of Silverlight's MediaElements. In this article you may see the supported formats it can play. I think ".SRT" is not supported.
    Please feel free to ask if you need further assistance.

    Greetings,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Manuel
    Manuel avatar
    61 posts
    Member since:
    Oct 2011

    Posted 10 Jan 2012 Link to this post

    Hi, Yes, .SRT files are not supported. However I did using a workaround with markers and a timer using MediaElement.

    But now, I want use MediaPlayer with this workaround, but doesn´t work because the markers in MediaPlayer doesn´t work?

    Is possible add a marker like this: MediaPlayer.MediaElement.Marker.add(new TimeLineMarker)??

    Thanks
  5. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 13 Jan 2012 Link to this post

    Hello,

    I'm attaching a sample project demonstrating very basic and simple usage of Markers collection - just adding a custom marker on a button click (that is going to be discarded when media source changes). You could also check this article for more info regarding the MediaElement markers: http://msdn.microsoft.com/en-us/library/cc189078(v=vs.95).aspx .

    Hope this helps. Please let us know if you need further assistance.

    Regards,
    Hristo
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top