Author: Nicola Ayan

Embedding a Youtube Video on EPiServer

Several pages in our website require embedded Youtube videos. So I created a Youtube block that accepts the following Content properties: Title Description Embed link While it’s Settings properties are: Width Height Allow Full Screen Auto Play Here’s my code for the model: public class YoutubeBlock : BlockData { [Display( Name = "Title", GroupName =