Skip to main content

GET HTML Player Template

Overview


The following table contains important information about the GET method in regards to receiving the HTML player template.

GET HTML Player Template
MethodGET
URL or Endpoint/player/playerId/videoId.html
HeadersAuthorization
ParametersplayerId, videoId
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeDescription
playerIdYesstringUnique Id of the player.
videoIdYesstringUnique id of the video.

Request Body

The request does not contain a request body

Response

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta property='og:url' content='https://vp-dev.gjirafa.net/player/ptkzurkg/lzxikfcr'>
<meta property='og:title' content='untitled playlist 6666666'>
<meta property='og:image' content=''>
<meta property='og:type' content='video'>
<meta property='og:video' content=''>
<meta property='og:video:secure_url' content=''>
<meta property='og:video:type' content='video/mp4'>
<meta property='og:video:width' content='640'>
<meta property='og:video:height' content='360'>
<meta name='twitter:card' content='player'>
<meta name='twitter:player' content='https://vp-dev.gjirafa.net/player/ptkzurkg/lzxikfcr.html'>
<meta name='twitter:player:width' content='640'>
<meta name='twitter:player:height' content='360'>
<meta name='twitter:player:stream' content=''>
<meta name='twitter:player:stream:content_type' content='video/mp4; codecs = &quot; avc1.42E01E, mp4a.40.2 & quot' ; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;'>
<style type='text/css'>
#player_lzxikfcr_ptkzurkg_div {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
.vp-window-top {
padding: unset !important;
}
</style>
<script type='text/javascript'>
</script>
</head>
<body>

<script>
window.biskoQueue = window.biskoQueue || [];
</script>
<div><div id='player_lzxikfcr_ptkzurkg_div'></div></div>
<p id='description'></p>
<script>
(function () {
var head = document.head;
var script;
function setupPlayer() {
if (script) return;
script = document.createElement('script');
script.async = 1;
script.src ='https://vp-dev.gjirafa.net/player/ptkzurkg/lzxikfcr.js';
head.appendChild(script);
}

window.addEventListener('load', function () {
setTimeout(function () { setupPlayer(); }, 100);

if (window === top) {
document.getElementById('player_lzxikfcr_ptkzurkg_div').classList.add('vp-window-top');
}
})


})();

</script>
</body>
</html>

If the action is successful, the service sends back an HTTP 200 or 201 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed