Hi,
Please note that the playlist displaying on the demo is a banner widget which comes along with Video Stream theme. If you want to integrate the same banner in your own theme, you need to customize it. Please create a new file in the name “contusBannerSlideshow.php” and place this new file in the following path \wp-content\plugins\contus-video-gallery\. Now copy the below code and paste in the new file.
[ 342 lines of code moderated, that’s just way too much. For that many lines of code please use pastebin.com instead. ]
Now open “\wp-content\plugins\contus-video-gallery\hdflvvideoshare.php” file and find the below code.
if (file_exists($widgetPath . '/contusBannerSlideshow.php')) {
include_once($widgetPath . '/contusBannerSlideshow.php');
}
and replace with the following code.
if (file_exists($widgetPath . '/contusBannerSlideshow.php')) {
include_once($widgetPath . '/contusBannerSlideshow.php');
} else {
include_once(dirname(__FILE__) . '/contusBannerSlideshow.php');
}
Finally paste the following code where ever you want to display the banner widget in your site.
<?php the_widget( 'widget_ContusBannerSlideshow_init', array('title' => 'Contus Banner Slide Show', 'show' => '4'), $args = array() ); ?>
To increase the video count in banner widget, you can adjust the “show” value in the above code. For eg: ‘show’ => ‘4’ to ‘show’ => ‘6’.
If you are finding any difficulties in this, please share your site link.