Added duration to media object