How To Implement Video Filters?

This Widget API displays Search Filter bar on UI. This widget works in conjunction with other widgets to provide different filters and sort options. Filters Widget can establish communication with another Widget so that when a filter is applying using Filters Widget, the filter information is passed to data Widgets to reload themselves with new filter parameters. This makes it easy to put together a site with all the extensive Search and Filter options available.

In this example, following API call, ‘vidizmo.widgets.talk’ establishes a communication channel between both Widgets and therefore any events raised by the ‘vidizmo.videos.filter’ the widget is handled by ‘vidizmo.videos.channel’ widget.

vidizmo.widgets.talk(videosFeaturedRef, filterRef);

Likewise, such communication can be established between other widgets under ‘vidizmo.videos’ namespace, with the exception of ‘vidizmo.videos.embed’ widget.