Embed videos on your website while making sure they look great on mobile and desktop.
<div class="video-wrapper"> <iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" src="https://www.youtube.com/embed/XXXXXX" title="YouTube video player"></iframe> </div>
<div class="video-wrapper"> <iframe src="https://player.vimeo.com/video/XXXXXX" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe> </div>
First upload your video to either YouTube or Vimeo. This will generate a URL for your video that we'll need soon.
Look up - below the video is a code you can copy and paste into your page.
In the code you'll see 'XXXXXX'. Just paste your video ID in place of this.
Not sure what your video ID is?
Easy - just look at the URL of your video and you'll be able to pick out the ID. Look at the highlighted characters in the examples below.
https://www.youtube.com/watch?v=RWjnC8HSRdU
https://vimeo.com/529254176
Site design by Elliot Parker.