Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

433 B
Raw Blame
import * as React from 'react'
import VideoPlayer from './VideoPlayer'

type Props = Readonly<{
  srcs: string[]
}>

const VideoGallery: React.FC<Props> = ({ srcs }) => {
  const validSrcs = srcs.filter((src) => src)
  if (validSrcs.length === 0) return null

  return (
    <div className="my-3" data-testid="video-gallery-container">
      <VideoPlayer srcs={validSrcs} />
    </div>
  )
}

export default React.memo(VideoGallery)