Search code examples
c#webformscontent-management-systemkentico

How do I create a Kentico Editable video web part


I am trying to create an editable web part much like the Editable Image web part that comes as default. I see there is a class called CMSAbstractEditableWebPart that should be inherited from when creating an editable web part, but I cannot find a way to get the media selection onto the 'Page' tab rather than the 'Design' tab.

If anyone can shed some light on this that would be great.


Solution

  • This one may be a bit more complex than just cloning the Editable Image and replace the image with a video file. Videos (depending on if you're doing HTML5, flash, a youtube embed, etc) very in what HTML they need to have in order to render.

    But otherwise, what i would do is first clone the Editable Image Webpart, and from there start checking how it renders, you will probably need to clone the CMS Module control as well and modify it.