I switched the order here so we only manipulate the DOM once instead of once per video.