Hi, i need to stream a Manifest URL file (no DRM protected) that respond with cookies that the player needs to send in each fragment called after.
My code is very simple:
var stream = {
url: "Manifest URL"
};
var mediaPlayer = new MediaPlayer();
mediaPlayer.init(document.querySelector("#videoPlayer"));
mediaPlayer.load(stream);
The problem is that each called fragment responds with error 403, i tried with fiddler blocking request and resent them with cookie and it works!
How can i send the cookies received in each fragment?