image and video to play functionality