Current version: (AGNO-JavaScript API)

Single source configuration

// required parameters:
brand: "agnoplay",
videoId: "Mbdskc9KsAii",
url: window.location.href,
...
// add the following:
stream_source: "custom",
custom_source: {
  source: "https://redir-tmg.samgcloud.nepworldwide.nl/provider/tmg/platform/Kx1PKc/profile/hls/stream/_gYgroTBtR8C", // Required
  thumbnail: "//content.tmgvideo.nl/img/account=Kx1PKc/item=_gYgroTBtR8C/thumbid=1/image.jpg",
  title: "Domme bestuurder daagt beer uit",
  type: "" // Leave empty for autodetection, otherwise set to `application/x-mpegURL` || `application/dash+xml` || `video/mp4` || `audio/mp3`
}

Multiple sources configuration

// required parameters
brand: "agnoplay",
url: window.location.href,

videoId: "Mbdskc9KsAii", // Used for analytics, if not provided - url of the first source will be used as videoId
stream_source: "custom",
custom_source: {
  source: [
    {
      width: 720,
      src: "https://media.tmgvideo.nl/progressive/account=hPJiH9/item=Mbdskc9KsAii/file=GhFJLM9IBEOC/Mbdskc9KsAii.mp4",
    }, {
      width: 480,
      src: "https://media.tmgvideo.nl/progressive/account=hPJiH9/item=Mbdskc9KsAii/file=mjMADO7IRRum/Mbdskc9KsAii.mp4",
    }, {
      width: 270,
      src: "https://media.tmgvideo.nl/progressive/account=hPJiH9/item=Mbdskc9KsAii/file=iiMJKM9YBFCC/Mbdskc9KsAii.mp4",
    }
  ], // Required
  thumbnail: "https://content.tmgvideo.nl/img/account=hPJiH9/item=Mbdskc9KsAii/thumbid=7/image.jpg",
  title: "Willy en Max stappen over",
},

Custom source

This example shows the possibility to play a video or livestream from a custom source.