programmatically print youtube video in template