【问题标题】:How to get the actual video link of a vimeo video to put inside of a <video> tag?如何将 vimeo 视频的实际视频链接放入 <video> 标签内?
【发布时间】:2021-09-12 04:37:59
【问题描述】:

这是 Vimeo iframe 中的链接:

      <iframe
        title="vimeo-player"
        src="https://player.vimeo.com/video/348628277"
        width="640"
        height="360"
        frameborder="0"
      ></iframe>

以上工作。

但以下不起作用:

<video src="https://player.vimeo.com/video/348628277" autoPlay="true" loop />

它不起作用,因为链接指向网页,而不是视频。那么如何获取视频的 URL 呢?

【问题讨论】:

  • Vimeo 不会公开这一点,因为它们会根据多种因素改变交付内容的方式。您可以查看网络跟踪以了解它当时使用的内容,但它很可能是时间限制、IP 限制或使用 DRM,因此直接链接将不可靠

标签: html url video youtube vimeo


【解决方案1】:

您可以通过一些第三方网站获取不同视频质量的mp4链接,例如:

【讨论】:

    猜你喜欢
    • 2012-10-22
    • 2016-03-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多