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

Error loading player: No playable sources found


hi!~~~sir...my nginx unbunt14 server...error.
please slove the problem. sir~

1. nginx.conf

#user nobody;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
worker_connections 1024;
}

http {
#Firewall settings, only allow Local IP's
allow 192.168.0.0/24;
allow 127.0.0.1;
deny all;

access_log logs/http_access.log;
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;

server {
#HTTP Server port and name
listen 80;
server_name localhost;

# rtmp statistics
location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
allow 127.0.0.1;
}

location /stat.xsl {
# you can move stat.xsl to a different location
root html;
}

# rtmp control
location /control {
rtmp_control all;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}

rtmp {
server {
listen 1935;
chunk_size 4096;

application live1 {
live on;

}

}
}

2.index.html(/usr/local/nginx/html/live1/)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<script src="http://121.147.l81.235/live1/jwplayer.js"></script>
<script>jwplayer.key="aR/uyYwTa/vsNQAFfiyqCuVjO7soYKKDnnz+IA==";</script>

</head>

<body>
<title>Live Broadcat form</title>
<div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container") .setup({
autostart: "true",
bufferlength: "1",
displayclick: "fullscreen",
aspectratio: "16:9",
width: 720,
height: 405,
flashplayer: "jwplayer.flash.swf",
file: "livestream",
provide: "rtmp",
streamer: "rtmp://121.147.81.235/live1/",
stretching: "livestream",
});
</script>


</body>
</html>

thank you...sir

1 Community Answers

Donni

JW Player Support Agent  
0 rated :

While we can’t help you with your nginx unbunt14 server issues, you should try to get your stream working in our JW Player Stream Tester and then we can work on your embed as it looks like you are using configuration options from an older version of our player.

Check out our RTMP streaming support article to set your stream up to work in our tester then review our configuration options for JW 7.

This question has received the maximum number of answers.