CuePointsFromSRT – AS3 (Flash) subtitle loader class


Russian version

Overview


CuePointsFromSRT – is a AS3 class. This class allows to load subtitles from SRT file and show them during video playing.


Download class with example (Air application) (1381 downloaded)
View customizable video player with demo logo and russian subtitles (1398 viewed)

Technical information


Subtitles can be loaded throw string or external file (using implemented URLLoader). Subtitles are loaded as CuePoint. During CuePoint event you can show or hide subtitle text.


Subtitles must be written in UTF-8.

License


CuePointsFromSRT is available under MIT License. Please, send me a line, if you have made a project using my class.