TikTok Embed

In this article

Go back to the list of Blocks

With the TikTok Embed block, you can include a TikTok video into your post/page. You don’t need a TikTok account to embed a video, although the video should be public.

Embedded TikTok video

Screenshot of  TikTok

Steps to embed a video from TikTok

  1. Find your video link on TikTok

In the web player select the video and click on the link icon to copy the link.

The correct URL to copy to use the embed block
  1. Add a TikTok embed block to your page/post
Adding the TikTok embed block

Detailed instructions on adding blocks

  1. Paste the link into the text box and click on the “Embed” button
Embed option for the TikTok block to paste the URL.

If the embed is successful, you will see a preview in your editor.

Preview of the embedded TikTok video within the WordPress editor.

If you use an URL that can’t be embedded, the block shows the message “Sorry, this content could not be embedded.”

Embed option for the TikTok block to paste the URL.

You will have two choices: Try again with a different URL or convert it to a link.

  1. Click on “Preview” to see how it will look on the front-end
Preview of the embedded TikTok video within the WordPress editor.

Block Toolbar

Besides the “Mover” and “Drag & Drop Handle”, the Block Toolbar for the TikTok Embed block shows four buttons:

  • Transform to
  • Change Alignment
  • Edit URL, and
  • More Options 
Block Toolbar with options available for the TikTok Block.

Transform to

Options to transform the TikTok block to Paragraph, Columns or Group.

You can transform a TikTok embed into a Group. This would give you the ability to change the background color around the TikTok embed.

Editor view of a TikTok embed as a group with Color Settings controls
Editor view of a TikTok embed as a group with Color Settings controls
TikTok embed with a gray background-color
TikTok embed with a gray background-color

Change alignment

Alignment options for the TikTok block: wide width, full width, align left, align center, and align right.
  • Align left – Make the TikTok post left aligned.
  • Align center – Make the TikTok post alignment centered.
  • Align right – Make the TikTok post right aligned.
  • Wide width – Increase the width of the post beyond the content size.
  • Full width – Extend the TikTok post to cover the full width of the screen.

“Wide width” and “Full width” alignment need to be enabled by the Theme of your site.

Edit URL

Via the edit URL, you can change the TikTok Embed URL in the embed block. Overwrite the existing URL and click on the “Embed” button.

Editing the block URL via the "edit" option.

More options

These controls give you the option to copy, duplicate, and edit your block as HTML.

Read about these and other settings.

Block Settings

Besides the Advanced section, the TikTok embed has only one setting in the “Block Settings” sidebar: Media Settings.

Media Settings

Media settings for the embed block with the toggle OFF/ON for resizing on smaller devices.

Via the Media Settings, you can control the behavior of your post embed when viewed from a smaller device, like on a phone screen.

The Toggle switch turns on or off the resize functionality for smaller devices. The default setting is “on” or blue.

“Off:” This embed may not preserve its aspect ratio when the browser is resized. In the off position, the toggle switch is gray.

“On:” This embed will preserve its aspect ratio when the browser is resized. The toggle switch turns blue in the “On” position.

Advanced

Additional CSS Class(es) option for the TikTok Embed block.

The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit.

Changelog

  • Updated 2022-11-25
    • Removed redundant content
    • Aligned images for mobile view
    • Added alt text to images
  • Updated 2020-08-11
    • Screenshots as per WordPress 5.5
    • Added “Move To” and “Copy” section under More Options
  • Created 2020-07-05

Was this article helpful? How could it be improved?

First published

Last updated