flutter_subtitle_wrapper
flutter_subtitle_wrapper copied to clipboard
This is an subtitle package for flutter video player.
It seems that if I plug in the following regular expression for subtitles into a test site like [regex101](https://regex101.com/), `((\d{2}):(\d{2}):(\d{2})\,(\d+)) +--> +((\d{2}):(\d{2}):(\d{2})\,(\d{3})).*[\r\n]+\s*((?:(?!\r?\n\r?).)*(\r\n|\r|\n)(?:.*))` The 11th capture group which is used for...
There is an issue with the first empty line. The package displays time `00:00:00.000 --> 00:00:00.500` on the screen after opening instead of an empty line and then it works...
As you may know already, since writing this VTT parser; the [VTT standard](https://www.w3.org/TR/webvtt1/#types-of-webvtt-files) supports a variety of `track` or `file` [types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track#track_data_types); subtitles, captions, descriptions, chapters and metadata; the key difference...
Add demo for subtitles from local assets. 
Improve pub analyse score. 🥅 Improvements to be made: ❌ 0/10 points: 20% or more of the public API has dartdoc comments ❌ 20/30 points: code has no errors, warnings,...
Probaly should add more dynamic styling options to the package.
Add styling options to example and host it on Github pages.
Update Readme and Documentation for the package and project.
Its probally a good idea to implement proper parsing for subtitles by following the standard for WebVtt and Srt and not a custom made regex. WebVtt standard: https://www.w3.org/TR/webvtt1/ Srt standard:
Performance should be improved for both displaying the subtitles as parsing them. Now both are not optimized.