image and video to play functionality correction 1