示例工程 15-audio-video

15-audio-video/demo-01-video/assets/poster.svg

xml · 0.4 KB

运行:视频与字幕演示

点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。

<svg xmlns="http://www.w3.org/2000/svg" width="320" height="180" viewBox="0 0 320 180">
  <rect width="320" height="180" fill="#0f172a"/>
  <circle cx="160" cy="90" r="34" fill="#2563eb"/>
  <path d="M150 72 L190 90 L150 108 Z" fill="#ffffff"/>
  <text x="160" y="150" font-family="system-ui, sans-serif" font-size="14" fill="#e2e8f0" text-anchor="middle">示例视频 · 2 秒</text>
</svg>