mirror of
https://github.com/iv-org/videojs-vtt-thumbnails.git
synced 2024-10-01 03:05:36 -04:00
fix getSecondsFromTimestamp with milliseconds
This commit is contained in:
parent
53fdf0a0fd
commit
cbba8b8828
@ -327,7 +327,7 @@ class vttThumbnailsPlugin {
|
|||||||
return parseInt((timestampParts.hours * (60 * 60)) +
|
return parseInt((timestampParts.hours * (60 * 60)) +
|
||||||
(timestampParts.minutes * 60) +
|
(timestampParts.minutes * 60) +
|
||||||
timestampParts.seconds +
|
timestampParts.seconds +
|
||||||
(timestampParts.milliseconds * 1000))
|
(timestampParts.milliseconds / 1000))
|
||||||
}
|
}
|
||||||
|
|
||||||
trim (str, charlist) {
|
trim (str, charlist) {
|
||||||
|
Loading…
Reference in New Issue
Block a user