Change duration for a media