How can I add a TikTok video in a clean way to my app?

Hey guys! Me again with my newbie issues! Everytime I’ve asked for help you’ve been extremely helpful, so I hope you can help me one more time!

I’m trying to add videos to my app in a clean way, but the videos I need are actually TikTok videos.

I’ve recorded a loom video to try and give as much context as possible, you can watch it here: Loom | Free Screen & Video Recording Software | Loom

Thank you for helping out!

Can you elaborate?

Are you trying to add actual videos from TikTok to your app, or are you trying to create a TikTok style player that plays your own saved videos?


Just watched your loom video. Hopefully someone with more knowledge than me can add extra input.

I’ve tried to essentially do what you’re trying to do in the past with my own app.

I’m pretty sure I used a plugin literally called “TikTok” and it would display the videos just off of having a url link.

My issue was that I couldn’t change the look and feel of the video player, and since my app is an actual app, clicking on one of the recommended videos that pop up when you pause it, would pretty much break my app as it was trying to open an external url.

My solution became literally just making my own TikTok style video player, and having users upload their own videos // download videos from TikTok via “TikTok Downloader” websites.

Hope that information somewhat helps.

1 Like

Basically I’m building an analysis tool, so I want people to be able to see tiktok videos from other creators on the platform. However, I don’t want them to leave my platform to watch the videos, at the same time I don’t want the video to have all that extra info on it like when I used the embed feature from tiktok themselves.

So yeah, I want to “add”/play actual videos from TikTok.

Is this clearer? Do you need more info?

Thank you so much for your time!

1 Like

Thanks! Really appreciate your time!

According to ChatGPT:

"Unfortunately, playing TikTok videos directly in an HTML file is not possible due to the restrictions imposed by TikTok’s terms of service. TikTok videos are embedded on other websites using an iframe, which is not allowed to be displayed on other websites due to cross-site scripting (XSS) security measures.

If you still want to play TikTok videos on your website, you can use a third-party service that provides an iframe-based embed code for TikTok videos, such as TikTok’s own “TikTok Embed” feature or a platform like Embedly. However, be aware that these services may have their own terms of use and limitations, and the availability of TikTok videos through these services may be subject to change."

Doesn’t look like this will be doable :frowning:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.