Hi Priya Ramesh,
Thank you for using our services.
Let me first start by giving some general info about the insert buttons in the Generic Content and other modules editor. As you know we are using RadEditor as the rich text editor in those modules. The editor comes with pictures, links, media, flash and document managers. The Insert an image
, Insert a document
, and Insert a link
dialogs have been customized to work with Sitefinity Libraries, and pages for the links button. However we are still using the default the media, and flash manager tools. So you will only be able to insert videos from the libraries, you will however be able to insert videos from physical files in your web site.
What you are experiencing now comes from the fact that by default the media manager is configured to look for video files in ~/Files
folder in your web site. However when you create a web site this folder does not created, and therefore you are not able to use the manager. To fix this either create a folder ~/Files
in the root of your web site, where you will add videos and insert them into the RadEditor. Or if you wish to upload videos to different folder you will have to use an external template for the Generic Content controls. For example for the Generic Content control that you drop on a page and edit content there open ~/Sitefinity/Admin/ControlTemplates/Generic_Content/GenericContentDesigner.ascx
end edit the following lines:
|<MediaManager ViewPaths="~/YourPath" UploadPaths="~/YourPath" DeletePaths="~/YourPath" />
Map the template and restart your website. If you do not have the external templates, you can download the archive for your version of Sitefinity from your Client.Net account. If you need more information on how to work with external templates, please take a look at:
Introduction to Controls Config file
Mapping a control to use external template
If you wish you can use also the Insert a document
tool to add videos to generic content from your libraries. However with this tool you will just add a link to the file.
All the best,
the Telerik team