I should clarify my setup.
I have a single flowplayer instance, which has within its canvas both the screen where the video plays and a area created with the content plug-in where I am putting text commentary populated via the caption plug-in.
The video to be played is selected from an external playlist which utilizes the javascript playlist plug-in. When a video is selected from the playlist, an onStart event fires which loads the appropriate timed text file into the player to present the commentary along with the video.
I am not really using the captions for the purpose of captioning the voice track of the video. Rather I was intending it to show commentary related to the video. As such, the commentary will not be refreshing as often as caption of the voice track would. So, in order to present the information clearly, I would like to be able to use line breaks/paragraphs as well as different text formatting within a single caption.
It seems that using the captions plug-in, however, that I am limited to only providing a single style for any given caption (i.e. each 'p' node in the timed text file can only have one defined style). I would be happy just to be able to insert line breaks if this is possible, so that at least I could format the commentary into paragraphs, but I have not found out how to create a line break.
I would consider using cuepoints, at which I would update the content container, however I don't think the API supports all the functionality I would need to do this. I can't add cuepoints in the flowplayer configuration, as the cuepoints will vary for each video. So I would need to programmatically add cuepoints when loading each video. This would be some work to achieve but is feasible, however, I do not believe there is a way to actually remove cuepoints once they had been added. This would prevent me from being able to use such an approach.
I have a single flowplayer instance, which has within its canvas both the screen where the video plays and a area created with the content plug-in where I am putting text commentary populated via the caption plug-in.
The video to be played is selected from an external playlist which utilizes the javascript playlist plug-in. When a video is selected from the playlist, an onStart event fires which loads the appropriate timed text file into the player to present the commentary along with the video.
I am not really using the captions for the purpose of captioning the voice track of the video. Rather I was intending it to show commentary related to the video. As such, the commentary will not be refreshing as often as caption of the voice track would. So, in order to present the information clearly, I would like to be able to use line breaks/paragraphs as well as different text formatting within a single caption.
It seems that using the captions plug-in, however, that I am limited to only providing a single style for any given caption (i.e. each 'p' node in the timed text file can only have one defined style). I would be happy just to be able to insert line breaks if this is possible, so that at least I could format the commentary into paragraphs, but I have not found out how to create a line break.
I would consider using cuepoints, at which I would update the content container, however I don't think the API supports all the functionality I would need to do this. I can't add cuepoints in the flowplayer configuration, as the cuepoints will vary for each video. So I would need to programmatically add cuepoints when loading each video. This would be some work to achieve but is feasible, however, I do not believe there is a way to actually remove cuepoints once they had been added. This would prevent me from being able to use such an approach.