From cd8d0e060f704043a939fe941754c567d201949b Mon Sep 17 00:00:00 2001 From: Zankaria Date: Mon, 17 Mar 2025 15:06:12 +0100 Subject: [PATCH] config.php: update embedding_2 --- inc/config.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/inc/config.php b/inc/config.php index a604bb84..82fce638 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1282,14 +1282,12 @@ ' ], [ - 'match_regex' => '/^https?:\/\/(\w+\.)?tiktok\.com\/@[a-z0-9\-_]+\/video\/([0-9]+)\?.*$/i', + 'match_regex' => '/^https?:\/\/(\w+\.)?tiktok\.com\/@([a-z0-9\-_]+)\/video\/([0-9]+)\?.*$/i', 'type' => 'oembed', - 'provider' => 'https://www.youtube.com/oembed', - 'thumb_width' => 288, - 'thumb_height' => 512, - 'html' => '
- - + 'provider_url' => 'https://www.tiktok.com/oembed', + 'html' => '' ]