This is a migrated thread and some comments may be shown as answers.

Read .SRT file in Media Player

3 Answers 87 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Manuel
Top achievements
Rank 1
Manuel asked on 05 Jan 2012, 01:32 PM
Hi there,

Is already possible read .SRT files in silverlight player?

Thanks,

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 10 Jan 2012, 01:14 PM
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 >>

0
Manuel
Top achievements
Rank 1
answered on 10 Jan 2012, 01:31 PM
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
0
Hristo
Telerik team
answered on 13 Jan 2012, 01:02 PM
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 >>

Tags
MediaPlayer
Asked by
Manuel
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Manuel
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or