AI OnAI Off
Hi Tanvi,
You can allow video items on ContentArea by the below code and then write logic on the view to render it.
[AllowedTypes(AllowedTypes = new [] { typeof(VideoData) })]
public virtual ContentArea RelatedContentArea { get; set; }
But I suggest you create a new block type called VideoBlock and then create its own controller/view and then it will work as a normal block.
I want to allow a video as an item in my content area.
Please let me know the process of how a video can be added into it