1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / How to link video using media manager

How to link video using media manager

5 posts, 0 answered
  1. Priya Ramesh
    Priya Ramesh avatar
    26 posts
    Registered:
    23 Jul 2009
    24 Sep 2009
    Link to this post
    Hi,
       I am trying to add a video(wmv from library) in generic content using media manager.  The screen shows up but when I press the buttons nothing happens (like upload button). How do I add the video using media manager in generic content?

    Thanks,
    Priya
  2. Priya Ramesh
    Priya Ramesh avatar
    26 posts
    Registered:
    23 Jul 2009
    24 Sep 2009
    Link to this post
    I just noticed that after getting into media manager I get a javascript error. ( I use sitefinity 3.6)
    line : 604
    char: 1
    error: 'fullpath' is null or not an object
    code:0
    URL: http://localhost/sitefinity /admin/telerik.web.ui.dialoghandler.aspx?.................
  3. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    25 Sep 2009
    Link to this post
    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,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  4. Guy Babbitt
    Guy Babbitt avatar
    1 posts
    Registered:
    04 Aug 2004
    27 Oct 2009
    Link to this post
    This seems like a pretty big oversight.  How do we work around if we do not allow users to put files on the physical file system due to load balancing issues across several web servers?  The fact that everything is in the database is critical for us.
  5. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    28 Oct 2009
    Link to this post
    Hello Guy Babbitt,

    Thank you for using our services.

    Unfortunately we do not have the media manger from the editor working with videos from database. This requires development of custom dialogs such as the Insert Link and the Insert Document dialogs from the editor. I will talk to the team and see if we can do something about this dialog for one of our next releases.

    All the best,
    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
5 posts, 0 answered