Documentation
Welcome to Indra Embed documentation. Our player can be easily integrated into any website using simple iframe embeds. Follow this guide to get started.
Quick Start
Get started with Indra Embed 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://indraembed.netlify.app/movie/299534"
width="100%"
height="100%"
frameborder="0"
allowfullscreen
allow="encrypted-media"
></iframe>
2. Make it Responsive
Wrap the iframe in this container to maintain the correct aspect ratio, ensuring it looks great on any device:
Responsive Container
<!-- 16:9 Aspect Ratio Container -->
<div style="position: relative; padding-bottom: 56.25%; height: 0;">
<iframe
src="https://indraembed.netlify.app/movie/299534"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
frameborder="0"
allowfullscreen
></iframe>
</div>
URL Structure
Understanding how to construct the player URL is key to embedding your desired content. Both movies and TV shows (including anime) use TMDB IDs.
Movies (and Anime Movies)
https://indraembed.netlify.app/movie/tmdb_id
Movie Example
<!-- Avengers: Endgame -->
<iframe src="https://indraembed.netlify.app/movie/299534"></iframe>
Anime Movie Example
<!-- Spirited Away -->
<iframe src="https://indraembed.netlify.app/movie/129"></iframe>
TV Shows (and Anime Series)
https://indraembed.netlify.app/tv/tmdb_id/season/episode
TV Show Example
<!-- Game of Thrones S01E01 -->
<iframe src="https://indraembed.netlify.app/tv/1399/1/1"></iframe>
Anime Show Example
<!-- Attack on Titan Season 1 Episode 1 -->
<iframe src="https://indraembed.netlify.app/tv/1429/1/1"></iframe>
Finding Content IDs
Learn how to find IDs for movies, TV shows, and anime.
TMDB IDs
Movie, TV show, and Anime IDs can be found with TMDB API (developer.themoviedb.org) or in the URL when visiting themoviedb.org:
- Movies:
themoviedb.org/movie/299534
- TV Shows:
themoviedb.org/tv/1399
- Anime (Shows/Movies): Search for the anime on TMDB and use its corresponding Movie or TV show ID.