Gå til innholdet
NyttProdukt-Q&A: kundene spør på produktsiden din og får svarene dine.Se hvordan det fungerer
IdukkiIdukki
Embedding

Slik bygger du inn TikTok-videoer på en nettside i 2027

TikTok fases ut den gamle embed-koden. Her er den nye Embed Player, profilembed og en vegg som selger.

En kunde legger ut en TikTok med jakken din. Den har flere visninger enn den siste annonsen din. Du vil ha den under kjøpsknappen før lunsj. TikTok har merket den gamle embed-koden for utfasing, så kopier den nye.

I denne artikkelen

Hvilken TikTok-embed passer for siden din?

Start here

What should the page show?

  • One video

    Bruk Embed Player

    Lim inn én iframe med video-ID-en. Du velger hvilke kontroller som vises.

  • Your latest videos

    Bruk profilembed

    Share, så Embed, på profilen din. Viser opptil ti nylige videoer.

  • Chosen or customer videos

    Bruk en widget

    Koble til en kilde én gang, velg videoene og tagg produkter.

How to embed a TikTok video on your website

  1. 1Open the video on tiktok.com and copy the long number after /video/ in the address bar.
  2. 2Paste an iframe that points to tiktok.com/player/v1/ followed by that number.
  3. 3Add loading="lazy" so the video waits until the shopper scrolls to it.
  4. 4Publish, then check the page on a phone.

Method 1 below has the exact code.

What changed in TikTok embeds for 2027

TikTok's Embed Videos page now opens with a notice. It reads: "Embed Videos will be deprecated soon." Existing embeds will migrate on their own. For new pages, TikTok recommends its Embed Player.

The oEmbed endpoint has already moved. Ask it for a video and it now returns a player iframe. So a blog that turns pasted links into players moves over without any work.

Method 1: the Embed Player

Open the video and copy the long number after /video/ in its URL. That is the video ID. Then paste an iframe like this:

html
<iframe
  src="https://www.tiktok.com/player/v1/1234567890123456789?description=1&music_info=1"
  width="325" height="578"
  allow="fullscreen" loading="lazy"
  title="Customer video: linen overshirt"></iframe>

Swap in your own video ID. The two settings after the question mark show the caption and the sound name. Both are off by default. Keep loading="lazy" so a video below the fold waits for the scroll.

SettingWhat it doesDefault
controlsShows the progress bar and buttonsOn
autoplayStarts the video when the player loadsOff
loopPlays the video again when it endsOff
descriptionShows the video captionOff
music_infoShows the sound nameOff
relOn: recommended videos at the end. Off: more from the same creatorOn
force_mutedStarts muted and locks the volumeOff
From TikTok's Embed Player docs, read 24 November 2026.

Your page can also send the player play, pause, mute and seekTo messages. A developer can tie those to your own buttons. TikTok also warns it may pause embeds on a domain with unusually high traffic.

Method 2: the Share, then Embed snippet

On tiktok.com, open the video and click Share, then Embed. You get a blockquote and a script tag:

html
<blockquote class="tiktok-embed"
  cite="https://www.tiktok.com/@yourbrand/video/1234567890"
  data-video-id="1234567890">
  <section></section>
</blockquote>
<script async src="https://www.tiktok.com/embed.js"></script>

It works today, and one script tag serves every video on the page. The embed.js file was 15 KB gzipped when we measured it on 24 November 2026. Each video then loads its own player and video file. Use this snippet if your editor takes pasted HTML only.

Embedding on WordPress, Webflow or Squarespace

Paste the plain video URL on its own line. WordPress, Webflow, Squarespace and Ghost fetch the embed through TikTok's oEmbed endpoint. Today that returns the Embed Player iframe. Does your editor show a bare link? Paste the Method 1 iframe into a custom HTML block.

A TikTok feed or wall on your website

TikTok has one native way to show several videos. Its creator profile embed shows a profile card with follower and like counts. Under it sit up to ten of the account's most recent videos.

Open your profile on tiktok.com, click Share, then Embed, and copy the code. Private and underage accounts cannot be embedded. The card always shows your latest posts in TikTok's order. You cannot pick videos, follow a hashtag or add customer posts.

A wall of chosen videos needs a feed widget. You connect a source once and the page stays current. Our guide to embedding a TikTok feed covers the options. Shopify stores can compare apps in the best TikTok feed apps for Shopify.

MethodWhat it showsYou pick the videosProduct tagsUpkeep
Embed PlayerOne videoYes, one at a timeNoEdit the page for each video
Share, then Embed snippetOne videoYes, one at a timeNoEdit the page; marked for retirement
Creator profile embedUp to 10 recent videos from one accountNoNoNone
Feed widgetVideos from accounts, hashtags or tagsYesOn shoppable widgetsConnect once, then moderate
TikTok facts from its developer docs, read 24 November 2026.

Making embedded TikTok videos shoppable

An embedded TikTok sends a curious shopper to TikTok. Every button in TikTok's player links back to TikTok. If the video shows your product, that tap takes the buyer away from your cart.

The fix is to import the videos into a shoppable gallery. In Idukki, you connect TikTok as a source and tag your products on each video. A tap opens the product, and the shopper adds it to cart in the gallery. This works on Shopify, WooCommerce, Magento, PrestaShop and BigCommerce. Salesforce Commerce Cloud is in early access.

Our widget downloads 79 KB of core code, gzipped, before it renders. Off-screen videos are not fetched until a shopper reaches them. See the TikTok widget layouts, or try the widget builder without signing up.

Illustration of the widget builder in Idukki.

Rights: whose video is it?

Your own videos need no permission. A customer's video used to sell needs their consent, even through TikTok's own player. Ask in writing and keep the answer with a date. Idukki sends the request and stores the reply. The detail is in the UGC rights guide.

FAQs

  • Is TikTok's embed code being discontinued?

    TikTok's Embed Videos page says the feature "will be deprecated soon" and existing embeds will migrate. It recommends the Embed Player, an iframe at tiktok.com/player/v1/ plus the video ID.

  • How do I embed a TikTok feed on my website?

    TikTok's creator profile embed shows up to ten recent videos from one public account. For chosen videos, hashtags or customer posts, use a feed widget.

  • How do I embed a TikTok video without code?

    On WordPress, Webflow, Squarespace or Ghost, paste the video URL on its own line. The editor turns it into the player.

  • Can I embed TikTok videos on Shopify?

    Yes. Paste the iframe into a custom liquid section for one video. For a feed or a shoppable gallery, use an app.

  • Why is my TikTok embed not working?

    Check four things. The video must be public and still live on TikTok. Your editor may strip script tags, so use the iframe in Method 1. A browser content blocker can hide TikTok players, so test in a private window. TikTok also says it may pause embeds on domains with very high traffic.

  • Can I embed someone else's TikTok video on my store?

    The code works on any public video. Using a customer's video to sell needs their permission. Ask first and keep the approval.

Embedding other short videos too? See how to embed Instagram Reels and YouTube Shorts.

Sources

  1. 1TikTok for Developers: Embed Videos · Deprecation notice and oEmbed example. Page updated 23 October 2026, read 24 November 2026.
  2. 2TikTok for Developers: Embed Player · Player URL, settings, messages and usage limits. Page updated 28 October 2026, read 24 November 2026.
  3. 3TikTok for Developers: Embed Creator Profiles · Up to ten recent videos; private and underage accounts excluded. Read 24 November 2026.
  4. 4TikTok embed.js · 15,293 bytes gzipped, measured 24 November 2026.
  5. 5Google: Core Web Vitals · Load-time thresholds.
#tiktok#embed#shoppable-video#ugc

Continue reading

2 pieces in this cluster

These long-form pieces on the Idukki blog link back to this article, go deeper on the cluster.

More from Rohin Aggarwal