saveMedia function

Uploads the given media for the given transcript