Include Youtube or Vimeo videos with Skin CMS to 3DVista webframe

A standard youtube-url is not going to work when filled in Airtable and linked to a 3DVista webframe. You'll need the embed url which can be found when you hit share, embed video and then in the <iframe code you can find something src=".....". That link is the embed link.

Now instead of copy pasting all of those through this method, you can use the following formula to generate the Youtube embed urls from the standard youtube-url. Replace {Youtube url} with your fieldname.

CONCATENATE(
  "https://www.youtube.com/embed/",
  RIGHT({Youtube url}, 11)
)

The formula counts the 11 characters from the right side and places this Youtube ID inside the embed url structure.

Vimeo has 9 characters, so the formula is slightly different:

CONCATENATE(
  "https://player.vimeo.com/video/",
  RIGHT({Vimeo url}, 9)
)

Last updated