This widget returns all categories of your channel. This widget will display categories of one channel at a time. The domain of widgets.js, which would be channel domain, will determine channel context for this widget. Since VIDIZMO supports nested categories, these categories will be displayed in a tree view control. This widget will also provide click events, in case you want to show filtered videos in other widgets embedded on the same page.
Sample Code
<div class="categories"></div>
<script type="text/javascript" src="http://video.lexcorpinc.com/JavaScript/bundles/widgets.js"></script>
<script type="text/javascript">
vidizmo.videos.categories(".categories");
</script>
Properties
Video widgets expose following properties that can be overridden.
Properties |
Description |
tenant_id |
Id of a tenant var options = { 'tenant_id’: 1 } vidizmo.videos.categories(".categories", options); |
To learn more how these Widgets work, click here on VIDIZMO Widgets API Implementation.
For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.