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

Forums / Developing with Sitefinity / Play video in shadow box

Play video in shadow box

10 posts, 0 answered
  1. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    17 Aug 2010
    Link to this post
    Hey,
    I have a video library created in my sitefinity project. I associate a Generic control to the page to view the entire content, which has a link to the video. The video is linked to the Generic Content and selected from the said library. The video needs to be played in a shadow box once the link is created.

    Please also let me know the supported formats for video playback.

    Regards,
    Siddesh Kapadi
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    17 Aug 2010
    Link to this post
    Hello Siddesh Kapadi,

    The built-in video control -RadMediaPlayer control wraps .NET MediaElement object. All supported formats can be found here. The video control has been build with Silverlight 2.0.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    17 Aug 2010
    Link to this post
    Hey,
    I am creating an asp.net website and do not wish to create a Silverlight control. Please if you can provide me a different solution than RadMediaPlayer.

    Regards,
    Sidddesh Kapadi
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    17 Aug 2010
    Link to this post
    Hello Siddesh Kapadi,

    You can use js flash library to play a file or FlashManager of RadEditor control.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    17 Aug 2010
    Link to this post
    Hello Ivan,

    Please if you can give me an example of using a js library or FlashManager.
    Plzzzzzz.

    Regards,
    Siddesh Kapadi
  6. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    30 Aug 2010
    Link to this post
    Please if any one can let me know the answer on this.

    Regards,
    Siddesh Kapadi
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    30 Aug 2010
    Link to this post
    Hello Siddesh Kapadi,

    You can try using SWFObject

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    31 Aug 2010
    Link to this post
    Hey,
    Can this be used to show the file in shadow box? 
    I am able to get the shadow box working using the existing code, in case of the file is physically present. But once i use the file from library, it has an extension of ".sflb.ashx" and the shadowbox fails in this case and the file is downloaded on the machine.

    Please help me acheive this.


    Regards,
    Siddesh Kapadi
  9. George
    George  avatar
    204 posts
    Registered:
    05 Sep 2006
    31 Aug 2010
    Link to this post
    You need to add the .ashx extension to the list of extensions in Shadow box's JS file ... i.e:

    Q.img.ext=["bmp","gif","jpg","jpeg","png"] add the ashx extension to this list and you will be able to view the images from the the library in Shadowbox

    Best,

    George
  10. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    31 Aug 2010
    Link to this post
    Hey George,
    Thanks for you reply. I need a shadowbox to determine on its own the content type for the object and call the player accordingly. In my case, the object might be an flv, wmv, or any of the image formats. Specifying the type in image may not give me the expected results.

    Hope to hear from you.

    Regards,
    Siddesh Kapadi
Register for webinar
10 posts, 0 answered