News for hackers. Stuff that matters.
Re:Show HN: Cloud-based GIF editor to augment any video by intruder on Sunday May 08, 2016 @12:27AM (#11652604)
Cool but please clamp the values to be within 0 and currentDuration.

I'm getting an error that the duration that youtube sends me back is higher than your read out duration:

{ errors: { message: 'end(8s) > currentDuration(7.383s)' } }

Re:Show HN: Cloud-based GIF editor to augment any video by anonfunction on Sunday May 08, 2016 @03:01PM (#11655250)
Good idea of just trimming to the end if the end value is greater than the video duration, I'll add that next week.

As a quick hack since the youtube video duration is 7.383s, and you want to trim to the end just omit the end property.