Discover Endless Possibilities
vidrift

Free embed API for movies, TV shows & anime. 80K+ titles with HLS streaming, subtitles & auto-next.

72K+
Movies
14K+
TV Shows
30+
Subtitles
4K+
Anime
Click to load player

Documentation

Welcome to VidRift documentation. Our player can be easily integrated into any website using simple iframe embeds. Follow the guide below to get started.

Quick Start

Get started with VidRift in less than 5 minutes

1. Add the Player

Copy and paste this code into your HTML where you want the player to appear:

Basic Implementation
<iframe src="https://embed.vidrift.in/embed/movie/550" width="100%" height="100%" allowfullscreen allow="autoplay; fullscreen" style="border:none"></iframe>

2. Make it Responsive

Wrap the iframe in this container to maintain the correct aspect ratio:

Responsive Container
<!-- 16:9 Aspect Ratio Container --> <div style="position:relative;padding-bottom:56.25%;height:0"> <iframe src="https://embed.vidrift.in/embed/movie/550" style="position:absolute;top:0;left:0;width:100%;height:100%" allowfullscreen allow="autoplay; fullscreen"> </iframe> </div>

URL Structure

Understanding how to construct the player URL

Movies

https://embed.vidrift.in/embed/movie/{tmdb_id}
Movie Example
<!-- Fight Club (TMDB 550) --> <iframe src="https://embed.vidrift.in/embed/movie/550"></iframe>

TV Shows

https://embed.vidrift.in/embed/tv/{tmdb_id}/{season}/{episode}
TV Show Example
<!-- Breaking Bad S01E01 --> <iframe src="https://embed.vidrift.in/embed/tv/1396/1/1"></iframe>

Anime — Shows

https://embed.vidrift.in/embed/anime/{tmdb_id}/{season}/{episode}
Anime Show Example
<!-- One Punch Man S01E01 --> <iframe src="https://embed.vidrift.in/embed/anime/37854/1/1"></iframe>

Source API

For raw stream data without the player UI:

https://embed.vidrift.in/api/source/movie/{tmdb_id} https://embed.vidrift.in/api/source/tv/{tmdb_id}/{season}/{episode}

Returns JSON with HLS stream URLs, subtitle tracks, and metadata.

Finding Content IDs

Movie and TV show IDs can be found with TMDB API or in the URL when visiting themoviedb.org:

• Movies: themoviedb.org/movie/550

• TV Shows: themoviedb.org/tv/1396

The number after /movie/ or /tv/ in the URL is the ID you need to use in the player.

Notes

• Auto-advance to the next episode for TV shows and anime.

• Mobile-responsive with iOS Safari fullscreen support via webkitEnterFullscreen.

• All embed pages include HLS.js — no extra dependencies needed.

• For issues or takedown requests, contact the repository maintainer.