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

Forums / Developing with Sitefinity / Adding Video to Image Library

Adding Video to Image Library

18 posts, 0 answered
  1. Nick Pearce
    Nick Pearce avatar
    8 posts
    Registered:
    22 Apr 2008
    22 Feb 2009
    Link to this post
    Do you have a recommeded approach for creating some sort of media library. I'd like to support images and video in the same library.

    Should I extend the image library or create a new custom library? When I add new file extensions to the Image Library, files still can't be uploaded because they can't be presented in an <IMG> tag.

    Thanks as always.
  2. Nikolai
    Nikolai avatar
    216 posts
    Registered:
    01 Jun 2017
    23 Feb 2009
    Link to this post
    Hello Nick Pearce,

    There is easier way to set the libraries. The current version of Sitefinity - 3.6, supports Video library using Telerik Silverlight player to play *.wmv files. What you can do is to upload the pictures and videos in different libraries and then place the Image Gallery Control and Video Control in the same content placeholder.

    Hope this helps.

    Sincerely yours,
    Nikolai
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Nick Pearce
    Nick Pearce avatar
    8 posts
    Registered:
    22 Apr 2008
    24 Feb 2009
    Link to this post
    Nikolai

    Thanks as usual for the rapid response.

    I came to the same conclusion about having multiple libraries. However, I need to support quicktime movies so I'll build my own video control.

    v3.6 will allow me to use 'real' extensions so I can detect the file type and build the HTML accordingly.

    I'm sure I'll have more questions in the future.

    Cheers
    Nick
  4. lolo_salto
    lolo_salto avatar
    1 posts
    Registered:
    29 Apr 2009
    29 Apr 2009
    Link to this post
    Nick,

    I'm trying to find a solution in Sitefinity to implement a video content based on quicktime formats. This is a collection of videos encoded in multiples formats depending on the bandwith of the client.

    I would be glad to know more about your own video controller that you intend to develop.

    Thank you for your help.

    Loïc
  5. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    01 May 2009
    Link to this post
    Hi guys,

    I just wanted to pop in and give some directions about the implementing custom video controls. Basically, all that needs to be done is to have a public control (more info on adding controls here) which will work with our Images & Documents API. You can use the API to get the files from the database and once you have them it should be pretty simple to display them on the page (probably using some open source or commercial component). You can find more about Images & Documents API here in our developer manual:
    http://www.sitefinity.com/help/developer-manual/libraries-api-overview.html

    I hope you'll find this information helpful. Let us know if there is anything else we can do for you.

    All the best,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Justin Beitlich
    Justin Beitlich avatar
    3 posts
    Registered:
    11 Mar 2009
    20 Jul 2009
    Link to this post
    Nikolai,

    The image library shows the file types that are supported.  WMV format is not on that list.  Can you please provide more details on how to create a video library for WMV videos?

  7. Nikolai
    Nikolai avatar
    216 posts
    Registered:
    01 Jun 2017
    21 Jul 2009
    Link to this post
    Hi Justin Beitlich,

    We introduced the Video Library in Sitefinity ver. 3.6  (see attachment). It only works for .wmv files because we use Telerik's Silverlight player. The video library has also a public control called "Video" and they are both available in Sitefinity v.3.6 but only for the .NET 3.5 version because .NET 2.0 does not support Silverlight.

    Kind regards,
    Nikolai
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Laura
    Laura avatar
    311 posts
    Registered:
    25 Feb 2008
    06 Aug 2009
    Link to this post

    We have a client who will wants to display training videos in their secure website through Sitefinity. The video files (.swf, .mov, .wmv, .flv) could be 360MB or more and may be in High Def.    Now, while they may be large files, they will not be hit by many people at once…  maybe 2 or 3 users at most at one time.  

     

    In this case, do we/should we use Viddler to host and/or deliver the videos?  What are the advantages / disadvantages to using Sitefinity versus Viddler?   Consequently, when I try to choose the .mov file from the files folder using Rad Editor, it doesn't show up in the list....will Sitefinity (3.6 hotfix, .net 3.5) only work with .wmv files?

    Any input you have on this would be helpful.

    Thank you,

  9. Laura
    Laura avatar
    311 posts
    Registered:
    25 Feb 2008
    06 Aug 2009
    Link to this post
    okay - so I successfully got the viddler videos to display on a page in sitefinity.

    One curious thing... there is now an added library called VdrNetCred_Libraries . This was added automatically...  has anyone else come across this??

    Also, our videos will be behind a login and password.  If I make the videos private on Viddler how can I display them through Sitefinity.  Currently, if they are private in Viddler, they can not be displayed elsewhere...  I don't want them to be displayed publicly in Viddler...

    Looking forward to anyone's thoughts on this.

    Thanks in advance.
  10. Nikolai
    Nikolai avatar
    216 posts
    Registered:
    01 Jun 2017
    10 Aug 2009
    Link to this post
    Hello Laura,

    The second Viddler library is something which comes with Sitefinity. Sitefinity needs it to store additional information for the ViddlerProvider.
    What you can do to "hide" the videos from the public site is to make the pages that will hold the Viddler control to "Deny" for Anonymous users. This way the user should be authenticated to see this library contents.

    Best wishes,
    Nikolai
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  11. Robert
    Robert avatar
    7 posts
    Registered:
    14 Dec 2008
    24 Nov 2009
    Link to this post
    My hosting provider is using version 3.5 and I am wanting to show a movie ( wmf is fine). Is there any way that I can do this?
  12. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 Nov 2009
    Link to this post
    Hi Robert,

    Can you please elaborate a little bit on your question? Sitefinity does have built in Video libraries in which you can upload wmv files and then use the Video control to display a list of videos on your pages so that customers would be able to see them. Is this what you are aiming for? If yes just go to the Images & Documents module, create a new Video library and upload your wmv videos. Then just add the video control to your Sitefinity pages.

    Greetings,
    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.
  13. Robert
    Robert avatar
    7 posts
    Registered:
    14 Dec 2008
    27 Nov 2009
    Link to this post
    Hi,

    this is exactly what I am wanting to do. I want to place a video onto a page that plays when people visit that page.

    My hosting proivider has ver 3.5. Is this possible in this version. If not. Can I non destructively upgrade my site to a version which allows this.

    Many Thanks
    Rob
  14. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 Nov 2009
    Link to this post
    Hello Robert,

    Thank you for getting back to me.

    Unfortunately the Video library and Video controls were implemented in later versions than Sitefinity 3.5. You have two options - either upgrade to a newer version of Sitefinity (preferably the latest official release) or use the Generic Content control and add embedded videos while in html mode of the rich text editor instead.

    We do have Upgrade Intructions outlining the steps you have to take in order to perform an upgrade. If you decide to upgrade please make sure that you back up your project and database just in case.

    Kind regards,
    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.
  15. Robert
    Robert avatar
    7 posts
    Registered:
    14 Dec 2008
    27 Nov 2009
    Link to this post
    Hi Radoslav,

    the great support is one of the things that really distinguishes Sitefinty. Thanks very much for getting back to me.

    I will investigate the upgrade path but was wondering if you could give me a bit more detail on the Generic Content option. If I upload a wmf video (called Video1) to a library called Videos what would I need to put into the html code for this to display.

    Many thanks

    Rob
  16. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 Nov 2009
    Link to this post
    Hi Robert,

    I should have explained myself a little bit clearer for the Generic Content control option. You can use any embeddable flash player or media player for this (depending on what kind of formats you want to play). Then you will have to save those videos on file system (I am sorry I did not point this out earlier). Then you have to enable the support of JavaScript in the rich text editor (most flash players are loaded with java script. You can do this by adding AllowScripts="true" to the markup of the control. Go to ~/Sitefinity/Admin/ControlTemplates/Generic_Content/ EditorTemplate.ascx and add the following property to the RadEditor control on those templates:
    <telerik:RadEditor
        ID="contentEditor"
        runat="server"
        ...
        AllowScripts="true"
        ...>

    All you have to do now is to decide which flash player you are going to use.

    Sincerely yours,
    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.
  17. Robert
    Robert avatar
    7 posts
    Registered:
    14 Dec 2008
    27 Nov 2009
    Link to this post
    Hi,

    thanks again for the prompt response. I am not at all sure about how to use an embeddable media player or even what the best options are for this. Are there any guidelines on this? 

    Asuming that I want to embed a player that can show .wmf files could you please tell me what the player options are and how I would go about setting this up. Is it possible to give me an "example" of the code I would need to use..

    Much appreciated.

    Rob
  18. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    27 Nov 2009
    Link to this post
    Hello Robert,

    There are no guidelines on this. Media players like this can be used the same way as they are used on a normal html page. The Web is full of examples of such players.

    Greetings,
    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
18 posts, 0 answered