Implemented getResource() in Media