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

SecurityErrorEvent in jwplayer from local


I have strange error with jwplayer, when I publish video from their site, in preview all works fine with url - http://qaq.ngrok.com/video/advice/53d8f2145a2b89830479d8e2/video.m3u8

But when I copoy code after preview, and run it from local, or from same qaq.ngrok.com domain, it shows me error "[SecurityErrorEvent type='securityError' bubbles=false cancelable=false eventPhase=2 text='Error #2048'".

8 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Are you running from your local C drive? You need to at least have the player running in a local web server for it to function properly.If you can provide a link to where it is not working on your site though, we can look into it further.

gaskar18

User  
0 rated :

yes heres an example
http://qaq1.ngrok.com/html.html

gaskar18

User  
0 rated :

ok I found where's the problem, in my playlist file, urls are https, but I trying to run player from http, thanks :)

Ethan Feldman

JW Player Support Agent  
0 rated :

Np :-)

MisterNeutron

User  
0 rated :

"You need to at least have the player running in a local web server for it to function properly."

Incorrect. Wrong. Not true.

Ethan Feldman

JW Player Support Agent  
0 rated :

He is using an m3u8 stream, so in this case, I am correct. Thank you for your contribution to this thread.

MisterNeutron

User  
0 rated :

If he were trying to run an m3u8 stream from the C: drive, would it produce a security error? Or does that security error indicate, as he discovered, that mixing http and https is the problem?

Ethan Feldman

JW Player Support Agent  
0 rated :

Yes, it would product a security error.

This question has received the maximum number of answers.