Video thumbnail question

Posted by Community Admin on 04-Aug-2018 16:17

Video thumbnail question

All Replies

Posted by Community Admin on 10-Sep-2013 00:00

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.

Posted by Community Admin on 10-Sep-2013 00:00

Duh!  Never mind - it is in the ChildItemAdditionalInfo for the video

This thread is closed