Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

HTTP Basic Auth


How can I pass username and password in URL to access file protected by HTTP Basic Authentication?

We used flowplayer before and didn't have such problems.

Right now, in JWPlayer we try like this:

'width': '800',
'height': '471',

sources: [{
file: ""

but it doesn't work, we got password mismatch in HTTP server log.


1 Community Answers

Cooper Reid

JW Player Support Agent  
0 rated :


It’s not clear to me exactly what the problem is. Can you send me a link so I can troubleshoot more effectively? I don’t recommend trying to put your plain text password in your javascript source code. I’m not sure why this isn’t working without being able to take a look at the page -


This question has received the maximum number of answers.