[wp-trac] [WordPress Trac] #64941: Support TikTok carousel embeds
WordPress Trac
noreply at wordpress.org
Thu Mar 26 05:26:10 UTC 2026
#64941: Support TikTok carousel embeds
--------------------------+------------------------------
Reporter: Nick_theGeek | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by opurockey):
{{{
'#https?://(www\.)?tiktok\.com/@.*#i' => array(
'https://www.tiktok.com/oembed', true ),
}}}
// src/wp-includes/class-wp-oembed.php Line 106
Privider URL is handled here for
`https://www.tiktok.com/@itsklarissat/photo/7614533377500138782`. It seems
tiktok doesn't just support /photo for oembed like
`https://www.tiktok.com/oembed?maxwidth=600&maxheight=750&url=https%3A%2F%2Fwww.tiktok.com%2F%40itsklarissat%2Fphoto%2F7614533377500138782&dnt=1`
An alternative could be modify the embed url via using `embed_defaults`
filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64941#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list