How to get an embed code from Vimeo?


If you have a video that either you uploaded or are watching and want to get the embedded code from Vimeo to embed in some html code, you can get it by following the below steps,

  1. Open the video on Vimeo on your device,
  2. Now scroll down and look for the Share button,
    Vimeo Share button
  3. Now you will see a pop-up modal, where you will see Embed option that has an script to embed the video,
  4. Copy the text and paste it where in you code as I did below,
    <iframe src="https://player.vimeo.com/video/1986998?h=49fa4a4bcd" width="640" 
    height="427" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" 
    allowfullscreen></iframe>
    <p><a href="https://vimeo.com/1986998">Why creative commons?</a> from 
    <a href="https://vimeo.com/user845026">Niko Dittmann</a>
     on <a href="https://vimeo.com">Vimeo</a>.</p>
  5. Why creative commons? from Niko Dittmann on Vimeo.







Author Info:

Rakesh (He/Him) has a Masters Degree in Computer Science with over 15+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright Code2care© 2024 | Privacy Policy | About Us | Contact Us | Search