Update playback arguments and add duration attribute