<@cms_video>

Video Collection Video List Tags

Tag Name

<@cms_video>

Tag Description

Obtaining the list of video data for the video collection, including the embedded version.<#list DataList as video>${video.title}</#list>Traverse data

Tag attributes

AttributeTypeRequiredAvailable valuesDescriptionDefault
pageBOOLEANNotrue = Yes
false = No
Do we need to paginate the data for retrieval?false
sizeINTEGERNo Pagination: Number of data entries, default: 10
conditionSTRINGNo Extend SQL conditional statements, for example: title like 'a%'
contentIdINTEGERYes Video Content ID

Tag data attributes

AttributeDescriptionType
bitRateBitrateInteger
contentIdContent ID of the corresponding contentLong
coverVideo cover resource pathString
coverSrcVideo cover access addressString
createByCreatorString
createTimeCreation TimeLocalDateTime
decoderEncoding methodsString
descriptionIntroductionString
durationDuration, unit: millisecondsLong
fileSizeFile size, unit: bytesLong
formatVideo formatString
frameRateFrame rateInteger
heightVideo heightInteger
pathVideo resource path / Third-party reference codeString
remarkNotes/CommentsString
siteIdSite IDLong
sortFlagSorting valuesInteger
srcVideo access addressString
titleVideo TitleString
typeVideo TypeString
updateByLast modified by:String
updateTimeLast modified timeLocalDateTime
videoIdVideo IDLong
widthVideo widthInteger

Usage Examples

Video content detail page retrieves video list

<@cms_video contentid="${Content.contentId}" size="10">
<#list DataList as video>
<div class="video-item">
  <video controls width="300" height="200" poster="${iurl(video.cover!'')}">
    <source src="${iurl(video.path)}" type="video/mp4">
    Your browser does not support the video element.
  </video>
</div>
</@cms_video>

On this page