Embedding Third-Party Videos: Guide to YouTube & Vimeo Integration

Embedding Third-Party Videos: Guide to YouTube & Vimeo Integration

By Michael Chen

January 13, 2025 at 05:39 PM

Video embedding from YouTube and Vimeo can be done using either URLs or embed codes on your site. Here's everything you need to know about choosing and implementing the right method.

URL Integration (Recommended)

  • Simple and convenient option
  • Works with YouTube and Vimeo only
  • Supports standard video playback
  • Requires specific URL formats:
    • YouTube: youtube.com/watch, youtube.com/playlist, or youtu.be
    • Vimeo: Standard video URLs

Squarespace loading symbol

Squarespace loading symbol

Embed Code Integration

  • Offers advanced playback options
  • Supports additional platforms (Wistia, Animoto)
  • Required for YouTube Shorts and Clips
  • Can be used in:
    • Embed Blocks
    • Gallery Blocks
    • Gallery Pages
    • Cover Pages (version 7.0)

Preview of an embedded video

Preview of an embedded video

Important Considerations:

  • Live streams must use proper URL formats
  • Hidden/unlisted videos work with direct links
  • Playlists need youtube.com/playlist format
  • Premiere videos appear after scheduled date
  • 360-degree videos may impact site performance

Location Compatibility:

  1. URL Integration works with:

    • Background videos
    • Video Blocks
    • Video pages
    • Gallery Blocks
  2. Embed Code works with:

    • Embed Blocks
    • Gallery Blocks
    • Gallery Pages (v7.0)
    • Cover Pages (v7.0)
    • Video Blocks

For optimal results, use URLs when possible and reserve embed codes for advanced features or third-party platforms beyond YouTube and Vimeo.

Related Articles

Previous Articles