2012-02-09 09:09:01
AContent FlowPlayer and Subtitles
Hi,
I've got a general question regarding the media tag, FlowPlayer and subtitles. Is it possible to integrate subtitles, as FlowPlayer supports this? I examined the code within "home\classes\ContentUtility.class.php" and wonder if it is possible to automatically load a separate subtitle file for each MP4 or FLV video. My idea is to modify the code and to load the subtitle. E.g. if the video looks something like [media]../../myvideo.flv[/media], this gets replaced with FlowPlayer during runtime. Now you could simply include a syntax that loads a subtitle file called "myvideo.srt" for usage with FlowPlayer.
Is that a proper approach to solve this issue or does anybody have a different idea?
Kind regards
Bjrn