help

Video not autoplaying in TikTok's browser

Matt Gubler·2 min read·updated Oct 2026·how we write these
On this page

Mobile webviews — including TikTok's — block video autoplay by default unless the video is muted, marked playsinline, and served in a format the webview's media stack accepts. A video that autoplays correctly in Safari may not autoplay in TikTok's in-app browser. Five steps to make it work.

Fix steps

  1. Add muted, playsinline, and autoplay attributes to the <video> tag. All three are required. Without muted, mobile browsers block autoplay. Without playsinline, iOS opens the video full-screen on play instead of inline. Without autoplay, it never starts.

    <video src="..." muted playsinline autoplay loop preload="auto"></video>
    
  2. Confirm the codec. TikTok's iOS webview uses WebKit and supports H.264 reliably; HEVC support is patchy. Android TikTok webview supports H.264 and VP9 but not all AV1 streams. Encode in H.264 baseline profile for maximum compatibility.

  3. Check the MIME type and file extension. The server must return Content-Type: video/mp4 for .mp4 files. A wrong content-type or application/octet-stream prevents the webview from recognizing the file as playable.

  4. Avoid third-party players that require parent-window context. YouTube embeds, Vimeo embeds, and Wistia embeds sometimes refuse to autoplay inside webviews because they detect the webview as non-standard. Self-hosted MP4 is more reliable.

  5. Test with a low-bitrate fallback. TikTok's webview on cellular connections sometimes silently fails to load videos above a certain bitrate. Serve a 720p H.264 version under 2 Mbps for more reliable playback on cellular.

If autoplay still fails, test by triggering play on user interaction instead — a tap-to-play poster image. iOS specifically blocks programmatic play in some webview contexts but allows it on user gesture.

Still not working?

If the video plays in Safari but not in the TikTok webview consistently, get the viewer into their own browser. On Pro, linkboo's deeplinking does this: in TikTok, fans press and hold one button, your linkboo page opens in their browser, and they tap through to your landing page from there. The video then plays in Safari or Chrome with their usual autoplay rules.

Want the full diagnosis? See TikTok in-app browser media handling explained.

Need one bio link for your landing page and the rest? claim your link →

Stop losing the click after the tap.

linkboo Pro gets fans out of the app's browser and into their own.

claim your link →