This page last changed on Feb 28, 2012 by nina.revko@involver.com.

The video_list feature block is used to build custom video content items in SML. It is based on the content_list architecture and is virtually identical at the block level.  At this time the videos must be stored externally.

Attributes

name type value
active_video_list_items array Returns array of content list items
pending_video_list_items array Returns array of pending items
archived_video_list_items array Returns array of archived items

Configuration

Caching issues

There are no cacheing issues specific to this feature block.

Examples

SML tags to enable Video List
(NOTE: There is no default template so nothing will be displayed in the tab until you add content inside the opening and closing tags.)

{% video_list %}{% endvideo_list %}

Output a List of Titles

<h2>My List</h2>

{% video_list %}
    <ul class="data-list">
        {% for video_item in video_list.active_video_list_items %}
            <li>
                <h3>{{ video_item.title }}</h3>
                {% video_player video_url:video_item.video_url imgsrc:video_item.preview_url %}
            </li>
        {% endfor %}
    </ul>
{% endvideo_list %}

Document generated by Confluence on Feb 12, 2013 09:09