forked from jhomlala/betterplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/may changes 3 (jhomlala#497)
* Segmented ASMS subtitles loading * Skip parsing subtitle files with no cues (jhomlala#492) * Fix parsing subtitle timestamps with no hour component (jhomlala#491) Co-authored-by: Jakub <jhomlala@gmail.com> * General refactor, updated documentation and changelog * General refactor, updated documentation and changelog * Added spanish translation (jhomlala#494) * Added spanish translation * Changed "EN VIVO" for "EN DIRECTO" Co-authored-by: Koldo <kolod@byvapps.com> * Lint fix, format, updated dependencies, general refactor * Lint fix, format, updated dependencies, general refactor * Updated changelog and normal player page * Updated iOS example configuration, updated changelog * Updated iOS example configuration, updated changelog * Fixed iOS Picture in Picture play/pause state * Format * Readme and changelog update Co-authored-by: Alex Page <50582909+trms-alex@users.noreply.github.com> Co-authored-by: Koldo <koldoru92@gmail.com> Co-authored-by: Koldo <kolod@byvapps.com>
- Loading branch information
1 parent
ab1e080
commit c6f0b48
Showing
18 changed files
with
266 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
///Class which represents one segment of subtitles. It consists of start time | ||
///and end time which are relative from start of the video and real url of the | ||
///video (with domain and all paths). | ||
class BetterPlayerAsmsSubtitleSegment { | ||
///Start of the subtitles counting from the start of the video. | ||
final Duration startTime; | ||
|
||
///End of the subtitles counting from the start of the video. | ||
final Duration endTime; | ||
|
||
///Real url of the subtitles (with all domains and paths). | ||
final String realUrl; | ||
|
||
BetterPlayerAsmsSubtitleSegment(this.startTime, this.endTime, this.realUrl); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.