Skip to main content
Answered

How can I get vimeo embeds to display correctly with domain level privacy restrictions?

  • 12 December 2022
  • 6 replies
  • 280 views

Hi, I am using vimeo to embed videos within my articles and am having issues with implementing domain level video restrictions. We need domain restriction on all our videos to prevent them from being accessed by users that aren't logged in.

 

When viewing articles on the standalone help pages, the embed solution works fine, but if a user views a video from within the messenger, they get an error saying the video can't be played because of privacy settings. Both the help pages and messenger are used on the same domain.

 

Has anyone found a way to use domain restriction successfully?

Best answer by william112786

To display Vimeo embeds correctly with domain-level privacy restrictions, you need to configure Vimeo’s privacy settings to restrict embedding to specific domains. In your Vimeo account, go to the video settings, select "Privacy," and set the embedding options to "Only on sites I specify." Then, enter the domains where you want the video to be embedded. This ensures the video will only display correctly on authorized websites, respecting the domain-level privacy restrictions.

View original
Did this topic help you find an answer to your question?

6 replies

  • Author
  • New Participant
  • 1 reply
  • December 12, 2022

Have solved this now. There were additional intercom domains that we needed to whitelist:

intercom.help

intercom-sheets.com

intercomassets.com


  • New Participant
  • 2 replies
  • November 26, 2024

Hey ​@David C13 - Great information! I’ve got the same issue and also want to use domain whitelisting from Vimeo (or alternatives). How did you get the secure Vimeo links into Intercom? Vimeo gives an embed code, but I can’t see how I can add that to an Intercom article?


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+5

@Michael Johns 

You can find the information on how to do that here.


  • New Participant
  • 2 replies
  • December 4, 2024
mateusz.leszkiewicz wrote:

@Michael Johns 

You can find the information on how to do that here.

I don’t think it does. That tells me how to use the embed video tool but not how to add a little block of code from Vimeo. Like the example below:

<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/????????h=3da619f5f6&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479" frameborder="0" allow="autoplay; fullscreen; picture-in-picture; clipboard-write" style="position:absolute;top:0;left:0;width:100%;height:100%;" title="Far-UVC_ The Future of Safe Bacterial Disinfection_"></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+5

@Michael Johns  apologies, in that case it is not possible to embed Vimeo videos in the articles the way you want it.

You can experiment with the Articles API but I can't guarantee that is will work.


  • New Participant
  • 4 replies
  • Answer
  • December 4, 2024

To display Vimeo embeds correctly with domain-level privacy restrictions, you need to configure Vimeo’s privacy settings to restrict embedding to specific domains. In your Vimeo account, go to the video settings, select "Privacy," and set the embedding options to "Only on sites I specify." Then, enter the domains where you want the video to be embedded. This ensures the video will only display correctly on authorized websites, respecting the domain-level privacy restrictions.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings