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

Forums / Developing with Sitefinity / Video thumbnail question

Video thumbnail question

2 posts, 1 answered
  1. Bill
    Bill avatar
    31 posts
    Registered:
    08 Apr 2013
    10 Sep 2013
    Link to this post
    I am sorry if this has been answered before:

    I have 5 videos that I have uploaded toy site.
    I generated thumbnails for each of these videos.
    I created a new module using the module builder for testimonials.  Each of the 5 videos was added as to a separate testimonial in the module.

    I am getting the collection of testimonials:
    Dim providerName As String = String.Empty
    Dim dynamicModuleManager_ As DynamicModuleManager = DynamicModuleManager.GetManager(providerName)
    Dim testimonialsType As Type = TypeResolutionService.ResolveType("Telerik.Sitefinity.DynamicTypes.Model.Testimonial.Testimonials")


    ' This is how we get the collection of Testimonials items
    Dim myCollection = dynamicModuleManager_.GetDataItems(testimonialsType).Where("Status=""Live"" And Visible=" & True)
    ' At this point myCollection contains the items from type testimonialsType
    Return myCollection

    When I get a testimonial from the collection is can get the video to play just fine, but how can I get the thumbnail for the video.  I will to use the thumbnail as a link to view the video.

    Please help.
  2. Bill
    Bill avatar
    31 posts
    Registered:
    08 Apr 2013
    10 Sep 2013
    Link to this post
    Duh!  Never mind - it is in the ChildItemAdditionalInfo for the video
    Answered
2 posts, 1 answered