How to Embed a TikTok Video on Your Website

TikTok hands out embed code on desktop only: open the video on tiktok.com in a computer browser, click the Share arrow, then Embed, and copy the code. Developers can also call TikTok's oEmbed endpoint with a video URL or use its player iframe. WordPress has a TikTok embed block that takes the link.

Three ways to embed
MethodBest for
Share > Embed on tiktok.comOne-off videos on a page
WordPress TikTok blockPasting a link without code
oEmbed endpointSites that turn many links into embeds automatically
Player iframe (/player/v1/ID)Developers who want control over options like autoplay and muted

Updated

TikTok videos are vertical, so an embed takes far more height than a YouTube player of the same width. Plan the layout around that: beside text on desktop, full width on a phone.

Embed TikTok on We.Inc, WordPress, Wix, Squarespace or plain HTML

We.Inc

  1. Copy the TikTok video link.
  2. Ask the AI chat to place it, for example "add this TikTok next to the about text".
  3. Check the phone preview and publish.

Through the AI chat, using credits on a paid plan.

WordPress

  1. Insert the TikTok block.
  2. Paste the video URL and click Embed.
  3. Update the page.

Wix

  1. Choose Add Elements, Embed Code, Embed HTML.
  2. Paste the code from TikTok.
  3. Make the box tall enough for a vertical video and publish.

Squarespace

  1. Add an Embed block.
  2. Paste the TikTok link or the embed code.
  3. Save and view on a phone.

Plain HTML

  1. Paste TikTok's embed code where the video belongs.
  2. Or use the player iframe with your video ID.
  3. Upload and test.

Player iframe

TikTok player v1

VIDEO_ID is the long number at the end of the video's URL. The width and height here are a vertical starting point, not values from TikTok.

<iframe src="https://www.tiktok.com/player/v1/VIDEO_ID?music_info=1&description=1"
  title="TikTok video" width="325" height="575" loading="lazy"
  allow="fullscreen" allowfullscreen></iframe>

Sources

  • TikTok for Developers: Embed videos, https://developers.tiktok.com/doc/embed-videos/, checked October 28, 2026, for the TikTok steps
  • WordPress.org: Embeds, https://wordpress.org/documentation/article/embeds/, checked October 28, 2026, for the TikTok steps
  • Wix: Embedding a site or a widget, https://support.wix.com/en/article/adding-html-code, checked October 28, 2026, for the TikTok steps

What happens when a video goes away

TikTok says the same moderation applies in the app and in embeds. If a video is removed or made unavailable on TikTok, the embed on your site stops showing it. For anything you depend on, such as a product demo, also keep your own copy hosted elsewhere.

The player iframe

TikTok's developer docs describe a player address at tiktok.com/player/v1/ followed by the video ID, with options for things like music info, description, autoplay and muted. It loads lazily and is easier to size than the script-based embed.

How it works

  1. Open the video on tiktok.com in a desktop browser.
  2. Click the Share arrow, then Embed.
  3. Copy the code from the pop-up.
  4. Paste it into an HTML block and publish.

Tips

  • Phones do not show the Embed option; switch to a computer, or request the desktop site.
  • Use one or two embeds per page. Each one loads TikTok's player.
  • Ask the creator before embedding someone else's video on a commercial page.

Frequently asked questions

Why can't I find TikTok's embed option?

It appears in a desktop browser on tiktok.com, under the Share arrow. The mobile app shares links instead.

Why did my TikTok embed disappear?

The video was most likely removed or restricted on TikTok. Embeds follow the same availability as the app.

Can I add a TikTok video on We.Inc?

Yes, by asking in the AI chat with the video link and where you want it. TikTok embeds are not an add-on.

Related: Embed an X post, Embed an Instagram feed, HTML iframes and video, Aspect ratio calculator.

Start for free or see all free tools. We.Inc is free to start, with no card needed. AI building is on paid plans from $20 a month.

More in Guides

Product

Who It's For

Features

Resources

Company

View Sitemap