2027年にTikTok動画をウェブサイトに埋め込む方法
TikTokは従来の埋め込みコードを廃止します。新しい Embed Player、プロフィール埋め込み、販売につながるウォールを紹介します。
お客様がジャケットを着たTikTokを投稿しました。再生数は直近の広告より多くなっています。昼までに購入ボタンの下に載せたいところです。TikTokは従来の埋め込みコードを廃止対象にしています。新しいコードをコピーしてください。
この記事の内容
どのTikTok埋め込みがページに合うか
Start here
What should the page show?
- One video
Embed Player を使う
動画IDを入れた iframe を1つ貼り付けます。表示するコントロールを選べます。
- Your latest videos
プロフィール埋め込みを使う
プロフィールで「共有」→「埋め込み」を選びます。最新の動画を最大10本表示します。
- Chosen or customer videos
ウィジェットを使う
ソースを一度接続し、動画を選んで商品をタグ付けします。
How to embed a TikTok video on your website
- 1Open the video on tiktok.com and copy the long number after /video/ in the address bar.
- 2Paste an iframe that points to tiktok.com/player/v1/ followed by that number.
- 3Add loading="lazy" so the video waits until the shopper scrolls to it.
- 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:
<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.
| Setting | What it does | Default |
|---|---|---|
| controls | Shows the progress bar and buttons | On |
| autoplay | Starts the video when the player loads | Off |
| loop | Plays the video again when it ends | Off |
| description | Shows the video caption | Off |
| music_info | Shows the sound name | Off |
| rel | On: recommended videos at the end. Off: more from the same creator | On |
| force_muted | Starts muted and locks the volume | Off |
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:
<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.
| Method | What it shows | You pick the videos | Product tags | Upkeep |
|---|---|---|---|---|
| Embed Player | One video | Yes, one at a time | No | Edit the page for each video |
| Share, then Embed snippet | One video | Yes, one at a time | No | Edit the page; marked for retirement |
| Creator profile embed | Up to 10 recent videos from one account | No | No | None |
| Feed widget | Videos from accounts, hashtags or tags | Yes | On shoppable widgets | Connect once, then moderate |
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.
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
- 1TikTok for Developers: Embed Videos · Deprecation notice and oEmbed example. Page updated 23 October 2026, read 24 November 2026.
- 2TikTok for Developers: Embed Player · Player URL, settings, messages and usage limits. Page updated 28 October 2026, read 24 November 2026.
- 3TikTok for Developers: Embed Creator Profiles · Up to ten recent videos; private and underage accounts excluded. Read 24 November 2026.
- 4TikTok embed.js · 15,293 bytes gzipped, measured 24 November 2026.
- 5Google: Core Web Vitals · Load-time thresholds.
Continue reading
2 pieces in this clusterThese long-form pieces on the Idukki blog link back to this article, go deeper on the cluster.
- Embedding
How to embed YouTube Shorts on your website
One Short in a vertical iframe. Or a feed of Shorts from a channel or keyword that updates itself.
- Embedding
How to Embed a TikTok Feed on Your Website
TikTok's own embed code covers one video, a profile, a hashtag or a sound. Here is how to use it, and when a TikTok feed widget fits better.
More from Rohin Aggarwal
- Embedding
How to Embed a TikTok Feed on Your Website
TikTok's own embed code covers one video, a profile, a hashtag or a sound. Here is how to use it, and when a TikTok feed widget fits better.
- Embedding
How to embed Instagram Reels on your website
One Reel with Instagram's code. Or a feed of Reels that updates itself and links to the products.
- Embedding
How to embed Facebook Reels on your website
Meta's video embed and what it says about Reels. Plus a feed of a page's Reels that updates itself.