curl --request GET \
--url https://api.example.com/api/iframe_player{
"player_url": "<string>",
"fuente": "<string>",
"formato": "<string>",
"error": "<string>"
}Extract video player information from a content URL
curl --request GET \
--url https://api.example.com/api/iframe_player{
"player_url": "<string>",
"fuente": "<string>",
"formato": "<string>",
"error": "<string>"
}GET /api/iframe_player
curl "http://localhost:1234/api/iframe_player?url=https://sololatino.net/peliculas/spider-man-no-way-home"
curl "http://localhost:1234/api/iframe_player?url=https://sololatino.net/series/the-last-of-us/temporada-1/episodio-1"
{
"player_url": "https://streamvid.net/embed/xyz123abc",
"fuente": "streamvid.net",
"formato": "iframe"
}
{
"error": "Falta URL"
}
400 Bad Request
{
"error": "No se encontró el reproductor"
}
404 Not Found
.dooplay_player iframe elementplayer_url to embed the video player:
<iframe
src="{player_url}"
width="100%"
height="500"
frameborder="0"
allowfullscreen
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
></iframe>
fuente field may contain domains such as:
Get Details
/api/serie/{slug} or /api/anime/{slug} to get episode URLsFor movies: The /api/pelicula/{slug} endpoint already returns player infourl parameter, especially if it contains special characters:
const contentUrl = 'https://sololatino.net/series/the-show';
const encodedUrl = encodeURIComponent(contentUrl);
const apiUrl = `http://localhost:1234/api/iframe_player?url=${encodedUrl}`;
.dooplay_player iframe element