-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RangeError: Value not in range: 11? #9
Comments
I was forced back to beta.3 using |
Same error!
|
This package seems to have a serious flaw. It only handles English subtitles. |
I am getting this error when using asset subtitle,
Unhandled Exception: RangeError: Value not in range: 11
E/flutter (31902): #0 _RegExpMatch.group (dart:core-patch/regexp_patch.dart:95:7)
E/flutter (31902): #1 SubtitleParser._decodeSubtitleFormat subtitle_parser.dart:87
E/flutter (31902): #2 SubtitleParser.parsing subtitle_parser.dart:61
E/flutter (31902): #3 ISubtitleController.initial subtitle_controller.dart:5
Here is my code,
SubtitleController? _subtitleController;
_subtitleController = SubtitleController( provider: const AssetSubtitle('assets/videos/video.srt'), );
await _subtitleController!.initial();
And here is the subtitle line where the error is occuring,
1
00:00:00,009 --> 00:00:03,258
Let me give you the best analogy you've ever heard about the human body.
The text was updated successfully, but these errors were encountered: