add class media detail event