mirror of
https://github.com/iv-org/videojs-vtt-thumbnails.git
synced 2025-07-05 11:14:35 -04:00
fix getSecondsFromTimestamp with milliseconds
This commit is contained in:
parent
53fdf0a0fd
commit
cbba8b8828
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue