kakone / VLC.MediaElement

MediaElement clone powered by VLC
GNU Lesser General Public License v2.1
68 stars 33 forks source link

How to handle TimedTextSource for .srt subs? #31

Closed touseefbsb closed 7 years ago

touseefbsb commented 7 years ago

Is there a way to include external .srt ( subtitle / closed caption files ) with a video. I mean in normal uwp media element it is done by TimedTextSource through mediaSource, but here source of media is just a path or string , in this case ( vlc media element ) how can we handle this scenario? Thanks

kakone commented 7 years ago

I'm working on it, it will be available soon.

touseefbsb commented 7 years ago

thanks :)

kakone commented 7 years ago

Use the new MediaSource dependency property on the MediaElement class. There is an example in the sample app.