'Insert youtube embeds.
We need to play this placeholder replacement game because we don\'t
allow iframes in the rendered content.'

def add_youtube_embeds(self, html):

    for video_id in self.youtube_videos:
        html = html.replace((YOUTUBE_PLACEHOLDER % video_id), generate_youtube_embed(video_id))
    return html
