modified playMedia()

Modified playMedia() to be like other click functions