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)' } }
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)' } }
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.