A powerful video streaming API that is easy to use!
To embed a video player in your website, use the following iframe structure:
<iframe src="https://api.hexa.watch/movie/238" allowfullscreen></iframe>
Recommended CSS for responsive embedding:
.player-wrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
}
.player-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
You can embed movies and TV shows directly in your website using an iframe:
Loads a movie player by TMDB ID
tmdbId
- The Movie Database ID (required)Loads a TV show episode player
tmdbId
- The Movie Database ID (required)season
- Season number (required)episode
- Episode number (required)Get a list of all available movies or TV shows
type
- Content type (required): "movie" or "tv"http://localhost:3000/list/movie
http://localhost:3000/list/tv
Have questions, suggestions, or found a bug? We'd love to hear from you!
Get support, updates, and connect with others