How do I embed a link or a TikTok video into a survey? | XM Community
Skip to main content

This is the link I am trying to use. 

https://www.tiktok.com/@logagm/video/7394126805550058758

This is the embed link that TikTok created.

<blockquote class="tiktok-embed" cite="https://www.tiktok.com/@logagm/video/7394126805550058758" data-video-id="7394126805550058758" data-embed-from="embed_page" style="max-width:605px; min-width:325px;"> <section> <a target="_blank" title="@logagm" href="https://www.tiktok.com/@logagm?refer=embed">@logagm</a> <p>The og best way to eat a whole cucumber </p> <a target="_blank" title="♬ original sound - Logan" href="https://www.tiktok.com/music/original-sound-7394126847473814278?refer=embed">♬ original sound - Logan</a> </section> </blockquote> <script async src="https://www.tiktok.com/embed.js"></script>

 

It doesn’t work. please help.

@Thyer cooks In your text/graphic question you can embed HTML like this: 

However, this results in: 

For video uploads, the rich content editor…

...does offer the option to insert media

However, for me it is not loaded, probably because you must login to view the video: 

You could download the video from TikTok, save it in the Qualtrics library and then just select the video from the library the same way as shown above. You can download by right-clicking the video: 

Please think about copyright when using TikTok videos in your survey.

You can also try to embed it as iframe by adding this in the HTML mode (<>):

<iframe src="https://www.tiktok.com/embed/7394126805550058758" width="325" height="605" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture" allowfullscreen></iframe>

Make sure to preview the survey for testing as it may not be shown in the survey editor!

Best
Christian


Actually, I’ve gotten it to work in HTML. Thanks Christian!


@Thyer cooks Great to hear! Would appreciate if you mark my comment as solution. 

The TikTok video can be embedded as iframe by adding this in the HTML mode (<>) of the rich content editor of the question:

<iframe src="https://www.tiktok.com/embed/7394126805550058758" width="325" height="605" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture" allowfullscreen></iframe>

Results in: 

Best
Christian


Since the API does not have any means to explicitly attach media to a question, would using HTML code to embed Graphics / images be the recommended way to create questions with media using the API?


Leave a Reply