I have been playing around with the captions plugin for use with timed text files, and have been running into what seem to be limitations in regards to text formatting.
I was hoping to be able to use different font styles within a single caption p element via use of span tags (an allowable XML node type per W3C). Unfortunately, it seems as if the XML parser will not handle these tags, as when added, the text within the span node fails to display.
Similarly, I was hoping to be able to add line breaks using a br node (another allowable node type per W3C), however the line breaks are not rendered.
My main goal here is to be able to display some text content in a content plugin that will display alongside my video and be able to be automatically changed as the video is played. I should also note that my flowplayer instance works in conjunction with a playlist, so it is not really feasible to use onCuePoint configuration with just the content plugin, as the cuepoints and text content will vary between videos.
I am wondering if I am attempting to do this improperly or whether the parser being used simply does not handle all allowable element types as specified in W3C for timed text.
I have not yet investigated working with Subrip files, but would certainly be willing to so if they allow better formatting options.
Any other advice on how this might be achieved would be welcome.
I was hoping to be able to use different font styles within a single caption p element via use of span tags (an allowable XML node type per W3C). Unfortunately, it seems as if the XML parser will not handle these tags, as when added, the text within the span node fails to display.
Similarly, I was hoping to be able to add line breaks using a br node (another allowable node type per W3C), however the line breaks are not rendered.
My main goal here is to be able to display some text content in a content plugin that will display alongside my video and be able to be automatically changed as the video is played. I should also note that my flowplayer instance works in conjunction with a playlist, so it is not really feasible to use onCuePoint configuration with just the content plugin, as the cuepoints and text content will vary between videos.
I am wondering if I am attempting to do this improperly or whether the parser being used simply does not handle all allowable element types as specified in W3C for timed text.
I have not yet investigated working with Subrip files, but would certainly be willing to so if they allow better formatting options.
Any other advice on how this might be achieved would be welcome.