Skip to content

carousel 组件增加视频播放支持. #5560

Answered by ArgoZhang
zzwh asked this question in Q&A
Discussion options

You must be logged in to vote

@zzwh 有模板 ChildContent 可以自己定义视频元素的

<Carousel Width="280" IsFade="true">
    <CarouselItem Caption="First slide label">
        <video src="" />
    </CarouselItem>
    <CarouselItem Caption="Second slide label">
        <video src="" />
    </CarouselItem>
    <CarouselItem Caption="Thrid slide label">
        <video src="" />
    </CarouselItem>
</Carousel>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ArgoZhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #5547 on March 07, 2025 02:43.