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
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.