Current version: (AGNO-JavaScript API)

Configuration

This feature can be used as follows:

// required parameters:
brand: "agnoplay",
videoId: "Mbdskc9KsAii",
url: window.location.href,
...
// add the following:
vhsSourceRequestHeaders: {
  'Authorization': 'Bearer authtokenvalue',
  'Content-Type': 'application/vnd.apple.mpegurl',
}

Custom headers

This example shows the possibility to add custom headers for the request that is made to retrieve the video for playback.

Note: This feature only works with Video.js http-streaming (Html5 tech) and is not supported in case ShakaPlayer tech is used (ref. to "techOrder" setting of agnoplay)