<@cms_video>
Obtaining the list of video data for the video collection, including the embedded version.<#list DataList as video>${video.title}</#list>Traverse data
| Attribute | Type | Required | Available values | Description | Default |
|---|---|---|---|---|---|
| page | BOOLEAN | No | true = Yes false = No | Do we need to paginate the data for retrieval? | false |
| size | INTEGER | No | Pagination: Number of data entries, default: 10 | ||
| condition | STRING | No | Extend SQL conditional statements, for example: title like 'a%' | ||
| contentId | INTEGER | Yes | Video Content ID |
| Attribute | Description | Type |
|---|---|---|
| bitRate | Bitrate | Integer |
| contentId | Content ID of the corresponding content | Long |
| cover | Video cover resource path | String |
| coverSrc | Video cover access address | String |
| createBy | Creator | String |
| createTime | Creation Time | LocalDateTime |
| decoder | Encoding methods | String |
| description | Introduction | String |
| duration | Duration, unit: milliseconds | Long |
| fileSize | File size, unit: bytes | Long |
| format | Video format | String |
| frameRate | Frame rate | Integer |
| height | Video height | Integer |
| path | Video resource path / Third-party reference code | String |
| remark | Notes/Comments | String |
| siteId | Site ID | Long |
| sortFlag | Sorting values | Integer |
| src | Video access address | String |
| title | Video Title | String |
| type | Video Type | String |
| updateBy | Last modified by: | String |
| updateTime | Last modified time | LocalDateTime |
| videoId | Video ID | Long |
| width | Video width | Integer |
<@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>