Added event listeners to make sure all videos are loaded before attempting to play