You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
Hi,
Indeed, the XHR for manifest and segments are not configured to use credentials.
As in dash.js, we could add the possibility to use credentials for these requests.
By the way, have you tried using dash.js project instead of hasplayer.js? We now recommend using dash.js with mss package.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
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?
The text was updated successfully, but these errors were encountered: