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

Subtitles in Mediaplayer ?

3 Answers 65 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
fred
Top achievements
Rank 1
fred asked on 03 Aug 2010, 03:53 PM
Hi the Telerik Team,

I am willing to read a file that contains subtitles for he video I'm playing.
Except from the Header property of the player element, I didn't found something that could be used for that purpose.
Does a specific subtitle element exist for the player ?
How would you proceed to synchronize such a subtitle file if using the Header property ?

Thanks in advance and regards.

3 Answers, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 05 Aug 2010, 02:09 PM
Hello fred,

Unfortunately there is no built-in support for subtitles.

If you want to use subtitles, you will need to implement it. I guess that the best thing to do is just display a TextBlock over the media player. This approach will be most flexible.

Synchronizing the subtitles will involve some kind of a timer. IMO the easier approach will be to refresh the subtilises at a given interval of time, say 100ms. Then you can check the progress of the video and read the correct subtitle for the frame.

Sincerely yours,
Miroslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
fred
Top achievements
Rank 1
answered on 31 Aug 2010, 09:44 AM
Hi Miroslav

I'd like to know if in a future release, you'll be integrating Subtitles with the Player, and in perticular *.stl subtitles.
This is common thing among most player ont the internet so...

Regards
fred
0
Miro Miroslavov
Telerik team
answered on 02 Sep 2010, 12:25 PM
Hello fred,

This will be great feature for the MediaPlayer, but we need more votes in our PITS system for this feature, in order to raise it's priority. You can vote and track it here.

Best wishes,
Miro Miroslavov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
MediaPlayer
Asked by
fred
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
fred
Top achievements
Rank 1
Miro Miroslavov
Telerik team
Share this question
or