cladera / videojs-offset

VideoJS plugin for play a segment of a video.
MIT License
64 stars 43 forks source link

String inputs for start and/or end time break the math in the 'currentTime' function #25

Closed DanielWare closed 6 years ago

DanielWare commented 6 years ago

if you initialize the offset plugin with string inputs instead of numbers it breaks the plugin's ability to seek to the correct time.

player.offset({ start: '2', end: '4' });