Skip to main content

Subscribe to Clip’s duration changes

Finally, as Clips might dynamically change you can subscribe to changes of the Clip’s duration via the subscribeToDurationChange method of it. This method takes just one argument, your callback function to get executed which will get just one argument, the new duration.