media control: listen to container:ended event