ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


AContent FlowPlayer and Subtitles


  • 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

  • 2012-02-09 09:48:32

    Re: AContent, FlowPlayer and Subtitles

    extending the [media] to take a caption file as a parameter sounds like it might work. something like [media captions="../../myvideo.srt"]

    Take a look at the Flowplayer captions plugin.
    http://flowplayer.org/plugins/flash/captions.html
    http://flowplayer.org/demos/plugins/flash/captions.html

    You can potentially add it to the flowplayer module.

    Are you planning on submitting your work to GitHub?