I have it working with:
Code:
<blockquote class="tiktok-embed" data-video-id="{param}" style="max-width: 605px;" > <section></section> </blockquote> <script async src="https://www.tiktok.com/embed.js"></script>
Use {option}
No
Remove Tag If Empty
Yes
Disable BB Code Within This BB Code
Yes
Disable Smilies Within This BB Code
Yes
Disable Word Wrapping Within This BB Code
Yes
Disable Automatic Link Parsing Within This BB Code
Yes
Helpful Tip:
If you have a few TikTok videos embedded on a page/post it loads the embed code
Code:
<script async src="https://www.tiktok.com/embed.js"></script>
for each video which is a waste of time and resources, to load it only once remove it from bbcode replacement and manually add it to
SHOWTHREAD template:
Find:
Add above:
Code:
<script async src="https://www.tiktok.com/embed.js"></script>
Other Notes: - If you do this it won't show in Admincp BB Code Manager page (see attachment) but works fine in posts.
- Whether you keep script with bbcode or manually add to template videos take a while to load after posting or editing, refreshing page (f5) seems to fix that.