def generate_youtube_embed(video_id):
 return render_to_string('wikiparser/hook_youtube_embed.html', {'video_id': video_id})

def generate_youtube_embed ( video_id ) : return render_to_string ( 'wikiparser/hook_youtube_embed.html' , { 'video_id' : video_id } )
takes a youtube video id and returns the embed markup .