mirror of
https://github.com/iv-org/videojs-vtt-thumbnails.git
synced 2025-04-23 00:19:23 -04:00
Merge pull request #2 from dcharbonnier/patch-1
fix getSecondsFromTimestamp with milliseconds
This commit is contained in:
commit
4c217d3df8
@ -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…
x
Reference in New Issue
Block a user