configure the media created with construct.
construct
The default implementation will configure the 'shared' property of the media.