Add seekToBeginning() and seekToEnd() methods in the Media object