IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
The video selector enables you to display and retrieve one or several selected videos.
Using the video selector, you can:
NOTE: You can change the video selector's behavior by editing the widget's properties in the Advanced settings section.
The videos you select are stored in a scope array variable. The default template visualizes videos using the sfCollection directive. For more information, see Use a generic collection directive.
array
sfCollection
You can use the video selector in the frontend, as well as in the backend. For example, on a page, as well as in a widget designer.
The sfVideoSelector is a directive with an isolated scope that is defined in a module with the same name: sfVideoSelector.
sfVideoSelector
The following image is an example of a video selector:
In your DesignerView.YourView.cshtml file, place one of the following tags anywhere in the HTML code:
DesignerView.YourView.cshtml
Single item selection:
Multiple item selection:
The values of the attributes are scope properties that you define in the MVC widget controller.
sf-model
sf-filter
sf-provider
sf-multiselect
sf-deselectable
sf-template-url
sf-template-assembly
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important