Search code examples
htmlurlvideoyoutubevimeo

How to get the actual video link of a vimeo video to put inside of a <video> tag?


Here is the link in the Vimeo iframe:

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

The above works.

But the below does not work:

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

It does not work because the link is to the webpage, not the video. How do I get the URL to the video then?


Solution

  • You can use some of the third-party websites to get the mp4 links of different video qualities, like :