plugins Videos for the category Features
Plugin "Videos for the category" for displaying videos from youtube.com in categories.
To output a video, add the following code to the category file (usually category.html) where you want the video to appear:
{if class_exists('shopCategoryvideoPlugin')}
{shopCategoryVideoViewHelper::showVideo($category)}
{/if}
The player is wrapped in a div with the .category-video class
Use this class for positioning in your CSS file.
Styling classes:
- .category-video
- .category-video .youtube
- .category-video .youtube .play