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="" width="640" 
    height="427" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" 
    <p><a href="">Why creative commons?</a> from 
    <a href="">Niko Dittmann</a>
     on <a href="">Vimeo</a>.</p>
  5. Why creative commons? from Niko Dittmann on Vimeo.

Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.