mirror of
https://github.com/iv-org/videojs-vtt-thumbnails.git
synced 2025-08-11 16:00:47 -04:00
Merge pull request #2 from dcharbonnier/patch-1
fix getSecondsFromTimestamp with milliseconds
This commit is contained in:
commit
4c217d3df8
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ class vttThumbnailsPlugin {
|
|||
return parseInt((timestampParts.hours * (60 * 60)) +
|
||||
(timestampParts.minutes * 60) +
|
||||
timestampParts.seconds +
|
||||
(timestampParts.milliseconds * 1000))
|
||||
(timestampParts.milliseconds / 1000))
|
||||
}
|
||||
|
||||
trim (str, charlist) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue