Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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