Add function getMediaURL for multimedia files