added the open media function