YouTube & Vimeo To embed or use a lightbox with YouTube and Vimeo videos, first you must obtain the video's iFrame embed code from its share link. Choose an accordion below. Obtain a YouTube iFrame Code Navigate to the YouTube page with the video you'd like to display. Click Share. Click the Embed tab. Highlight and copy the entire line of code in the text field. Follow the directions to either embed the video or use a lightbox. Obtain a Vimeo iFrame Code Navigate to the Vimeo page with the video you'd like to display. Click Share. Highlight and copy the entire line of code in the Embed text field. Follow the directions to either embed the video or use a lightbox.