How do I add a YouTube or Vimeo video to my website?

Synopsis
You wish to embed a video on your website.

Solution
DoJiggy supports YouTube and Vimeo hosted videos. You must first get your video ID from YouTube or Vimeo. This is a unique alphanumeric (YouTube) or numerical (Vimeo) sequence. Then goto your website editor at Website -> Pages and paste the following snippet where you wish the video to appear:

  • YouTube: {{s:youtube id="W-Q7RMpINVo"}}
  • Vimeo: {{s:vimeo id="98846299" color="ffffff" portait=false}}

 The IDs (value just after id=) above must be substituted for your video's unique ID.

Width and height are adjustable.

If you do not want YouTube to add suggested videos when yours has finished playing, add ?rel=0 at the end of the video ID like this {{s:youtube id="W-Q7RMpINVo?rel=0"}}

TROUBLE SHOOTING:
If you are processing a new video, and get the following message on a DoJiggy page: 'That video does not exist: 410', note that this may be a temporary error. YouTube has a lag time in their video processing. The 11 character code will not work until they've sent confirmation the video is on YouTube. After you have received confirmation, refresh and try again.

0 Comments

Article is closed for comments.