Hello,
It seems there may be an issue with how the Intercom API parses the src
attribute of Vimeo <iframe>
embeds in Help Center articles.
When I try embedding a Vimeo video using a valid and supported format like this:
<iframe src="https://player.vimeo.com/video/76979871?autoplay=1&loop=1&autopause=0"
width="640" height="360" frameborder="0"
allow="autoplay; fullscreen" allowfullscreen="allowfullscreen">
</iframe>
…the video fails to render in the Help Center and I get this error response:
"errors":[{"code":"unsupported_html","message":"Video src is not supported"}]
However, this YouTube embed works perfectly in intercom:
<iframe title="YouTube video player"
src="https://www.youtube.com/embed/R7CC4NYokNI?si=-s_wXnz1orMp-Dn2"
width="560" height="315" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen="allowfullscreen">
</iframe>
I also tried updating an article with a body that contains a Vimeo embedded video:
{
"body": "<iframe src=\"https://player.vimeo.com/video/76979871?autoplay=1&loop=1&autopause=0\" width=\"640\" height=\"360\" frameborder=\"0\" allow=\"autoplay; fullscreen\" allowfullscreen=\"allowfullscreen\"></iframe>"
}
and get the same error:
{
"code": "unsupported_html",
"message": "Video src is not supported"
}
I also tried with the youtube video embeded and it works.
Could someone from the team confirm whether this is a known limitation or a parsing bug?
Thanks so much — I really appreciate any help!
Thanks!
Carmen