Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 22, 20204 yr Can't when i paste the video link: https://vm.tiktok.com/ZSmMoMH8/ Don't work when i use [video] tag too 🙄
September 22, 20204 yr Community Expert Where did you get that URL? The sharing URL and the browser bar URL on that page are different and they do work: https://www.tiktok.com/@effectmann/video/6871291430917115138
September 22, 20204 yr Author Where did you get that URL? The sharing URL and the browser bar URL on that page are different and they do work: https://www.tiktok.com/@effectmann/video/6871291430917115138 Thank you very much! From here: (Copy link)
November 13, 20204 yr Have we found a way to embed the tiktok videos from the share link button in the tiktok app yet?
November 16, 20204 yr Tiktok's oembed endpoint does not support that URL. Compare the output of these: https://www.tiktok.com/oembed?url=https://www.tiktok.com/@effectmann/video/6871291430917115138 vs https://www.tiktok.com/oembed?url=https://vm.tiktok.com/ZSmMoMH8/
November 16, 20204 yr Tiktok's oembed endpoint does not support that URL. You'd have to do a request to the URL if it's "vm.tiktok.com". That will do a 301 redirect to the proper URL. The final URL is supported by the oEmbed endpoint. I don't see an immediate way to get the final URL from the response object, without trying to get it form the HTML response.
December 10, 20204 yr Author Tiktok's oembed endpoint does not support that URL. Compare the output of these: https://www.tiktok.com/oembed?url=https://www.tiktok.com/@effectmann/video/6871291430917115138 vs https://www.tiktok.com/oembed?url=https://vm.tiktok.com/ZSmMoMH8/ When i share on TikTok this link: https://vm.tiktok.com/ZSGk5RGo/ It show directly video embeded but not here and i still don't know how to get url 🙄 Because when i paste the url, it's converted to https://m.tiktok.com/v/6705425749614005509.html And don't work too here...
December 11, 20204 yr Instead of using "share", just copy the URL from your address bar. If you're using the app that's not particularly feasible.
December 11, 20204 yr Author If you're using the app that's not particularly feasible. Exactly. And it's annoying because when i click 'Share', then 'copy link' and i paste on browser then i click "PC version" on my mobile Chrome then i see the real link for embed. So at least 2x more time we spend on mobile using app. As you see, when i paste directly copied link on twitter, it work. Maybe IPS must try a little bit code change about TikTok embed... Edited December 11, 20204 yr by Feneroin
December 24, 20204 yr Author Instead of using "share", just copy the URL from your address bar. Click this link and copy then paste: https://m.tiktok.com/v/6856481534585605381.html No embed... But video is playable on the web...
December 28, 20204 yr It redirects to this URL https://www.tiktok.com/@invictusmann/video/6856481534585605381?source=h5_m Which embeds just fine
December 28, 20204 yr It redirects to this URL https://www.tiktok.com/@invictusmann/video/6856481534585605381?source=h5_m Which embeds just fine That's a lot of steps to do on mobile. Click "share" Copy link Go to browser Open a new tab. Paste link and wait for it to load Copy URL again Go to IPS site that you want it to be embedded on. Paste new URL. The fun part is the above steps don't work on mobile because you get a mobile link like: https://m.tiktok.com/v/6911023856178285829.html?_d=dkfgjhdkl;gu lkdfhjg lkdfhglkhsdfkjh So basically its impossible to embed tiktok on mobile at the moment which does make it rather useless in its current form since the app is the primary way people view tiktok.
December 28, 20204 yr Author It redirects to this URL https://www.tiktok.com/@invictusmann/video/6856481534585605381?source=h5_m Which embeds just fine Not for me. I've TikTok app, it me redirect to app and i try with tab private on Google Chrome, the link don't change, always same: https://m.tiktok.com/v/6856481534585605381.html So how i embed it? 1- Copy share link on app 2- Open a private tab on browser 3- Paste the link https://vm.tiktok.com/ZSW329cu/ 4- Link is changing automatically to https://m.tiktok.com/v/6856481534585605381.html 5- I change "m" to "www" replace "v" with Tiktok User name add "video/" delete ".html" and it's here: https://www.tiktok.com/@invictusmann/video/6856481534585605381 Annoying, no? 😅 Edited December 28, 20204 yr by Feneroin
December 29, 20204 yr We use oembed to embed a URL. You should perhaps reach out to TikTok and suggest that they support their own mobile URLs at their oembed endpoint, as we do not control the information supplied by them. https://www.tiktok.com/oembed?url=https://www.tiktok.com/@invictusmann/video/6856481534585605381 and https://www.tiktok.com/oembed?url=https://m.tiktok.com/v/6856481534585605381.html work. Compare to https://www.tiktok.com/oembed?url=https://vm.tiktok.com/ZSW329cu/ which does not
December 29, 20204 yr I've been looking at this recently... vm.tiktok will return a 301 redirect, which then points to.. m.tiktok, with more detail in the URL - this then returns a 302 redirect, which then points to... www.tiktok, with all the detail. If tiktok change vm. to do what m. does then everybody happy!!! Edited December 29, 20204 yr by Nathan Explosion