Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question Problem streaming m3u8 link ( HLS ) to work in my website or jwplayer

salamvid

Extended Member
Ext. Member
Joined
Dec 17, 2019
Messages
15
Reaction score
11
Points
11
Location
Morocco
i want to stream m3u8 link ( HLS ) to work in my website or jwplayer But it gives me an error message, in vlc on Desktop the link workling normal

i have install tihs panel Xtream Codes 1.60 ( http://34.68.62.73:3389/live/tast/1234/4.m3u8 ) IDM he reads the file as working

I tried a link to another person who works as normal - But my link on my platform doesn’t work on websites

Does anyone have any idea about fixing the problem, or changing the platform Xtream Codes v 2018 / 2019

uQrRHsY.png
 
i want to stream m3u8 link ( HLS ) to work in my website or jwplayer But it gives me an error message, in vlc on Desktop the link workling normal

i have install tihs panel Xtream Codes 1.60 ( http://34.68.62.73:3389/live/tast/1234/4.m3u8 ) IDM he reads the file as working

I tried a link to another person who works as normal - But my link on my platform doesn’t work on websites

Does anyone have any idea about fixing the problem, or changing the platform Xtream Codes v 2018 / 2019

uQrRHsY.png
Thats download accelerator it does not support m3u even if they say it does I had to turn the plugin off on my laptop.
 
Thats download accelerator it does not support m3u even if they say it does I had to turn the plugin off on my laptop.

you did not understand what I mean ?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
you did not understand what I mean ?
Is this just in chrome , have you tried on a mobile device to see if the same error happens , if it does then jwplayer is not setup right
 
i have asked someone for that .. he told me the streaming system stops on RDP not like VPS .. Is this true ?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
You need to add allow header access * in your xtreamcodes nginx config file for it to work.
 
I found the code in nginx.conf like this, can you add it to me

below i have added the line of code for you. Restart xtreamcodes nginx after adding the file.
code to stop and start xtreamcodes nginx:

/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s stop

Code:
user  xtreamcodes;
worker_processes  auto;

worker_rlimit_nofile 300000;
events {
    multi_accept on;
    worker_connections  16000;
    use epoll;
}



http {

    include       mime.types;
    default_type  application/octet-stream;

    sendfile           on;
    tcp_nopush         on;
    tcp_nodelay        on;
    proxy_buffering off;
    client_max_body_size 100m;
    gzip on;
    gzip_comp_level 5;
    fastcgi_read_timeout 180;
    server {
        listen 3389;
        index index.php index.html index.htm;
        root /home/xtreamcodes/iptv_xtream_codes/wwwdir/;
        server_tokens off;
        chunked_transfer_encoding off;
       
        rewrite_log on;
        rewrite ^/live/(.*)/(.*)/(.*)\.(.*)$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=$4 break;
        rewrite ^/movie/(.*)/(.*)/(.*)$ /streaming/clients_movie.php?username=$1&password=$2&stream=$3 break;
        rewrite ^/(.*)/(.*)/(.*).ch$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=ts break;
        rewrite ^/(.*)\.ch$ /streaming/clients_live.php?extension=ts&stream=$1&qs=$query_string break;
        rewrite ^/ch(.*)\.m3u8$ /streaming/clients_live.php?extension=m3u8&stream=$1&qs=$query_string break;
       
        location ~ \.php$ {
                try_files $uri =404;
            if ($uri ~* /streaming) {
                gzip off;
            }

            if ($uri ~* /get.php) {
                gzip off;
            }

    # CORS setup
            add_header 'Access-Control-Allow-Origin' '*' always;
            add_header 'Access-Control-Expose-Headers' 'Content-Length';

            # allow CORS preflight requests
            if ($request_method = 'OPTIONS') {
                add_header 'Access-Control-Allow-Origin' '*';
                add_header 'Access-Control-Max-Age' 1728000;
                add_header 'Content-Type' 'text/plain charset=UTF-8';
                add_header 'Content-Length' 0;
                return 204;
            }

           
#access_log /home/xtreamcodes/iptv_xtream_codes/tmp/access.log;
       
                fastcgi_index index.php;
                fastcgi_pass unix:/home/xtreamcodes/iptv_xtream_codes/php/php.sock;
                include fastcgi_params;
                fastcgi_keep_conn on;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param SCRIPT_NAME $fastcgi_script_name;
        }
    }
}

rtmp_auto_push on;
rtmp {
   server {
     listen 8001;
     interleave on;
     wait_video on;
     idle_streams off;
     max_streams 512;
     application input{
         live on;
         allow play 127.0.0.1; # localhost
         deny play all;

     }
   }
}
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
below i have added the line of code for you. Restart xtreamcodes nginx after adding the file.
code to stop and start xtreamcodes nginx:

/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s stop

Code:
user  xtreamcodes;
worker_processes  auto;

worker_rlimit_nofile 300000;
events {
    multi_accept on;
    worker_connections  16000;
    use epoll;
}



http {

    include       mime.types;
    default_type  application/octet-stream;

    sendfile           on;
    tcp_nopush         on;
    tcp_nodelay        on;
    proxy_buffering off;
    client_max_body_size 100m;
    gzip on;
    gzip_comp_level 5;
    fastcgi_read_timeout 180;
    server {
        listen 3389;
        index index.php index.html index.htm;
        root /home/xtreamcodes/iptv_xtream_codes/wwwdir/;
        server_tokens off;
        chunked_transfer_encoding off;
      
        rewrite_log on;
        rewrite ^/live/(.*)/(.*)/(.*)\.(.*)$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=$4 break;
        rewrite ^/movie/(.*)/(.*)/(.*)$ /streaming/clients_movie.php?username=$1&password=$2&stream=$3 break;
        rewrite ^/(.*)/(.*)/(.*).ch$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=ts break;
        rewrite ^/(.*)\.ch$ /streaming/clients_live.php?extension=ts&stream=$1&qs=$query_string break;
        rewrite ^/ch(.*)\.m3u8$ /streaming/clients_live.php?extension=m3u8&stream=$1&qs=$query_string break;
      
        location ~ \.php$ {
                try_files $uri =404;
            if ($uri ~* /streaming) {
                gzip off;
            }

            if ($uri ~* /get.php) {
                gzip off;
            }

    # CORS setup
            add_header 'Access-Control-Allow-Origin' '*' always;
            add_header 'Access-Control-Expose-Headers' 'Content-Length';

            # allow CORS preflight requests
            if ($request_method = 'OPTIONS') {
                add_header 'Access-Control-Allow-Origin' '*';
                add_header 'Access-Control-Max-Age' 1728000;
                add_header 'Content-Type' 'text/plain charset=UTF-8';
                add_header 'Content-Length' 0;
                return 204;
            }

          
#access_log /home/xtreamcodes/iptv_xtream_codes/tmp/access.log;
      
                fastcgi_index index.php;
                fastcgi_pass unix:/home/xtreamcodes/iptv_xtream_codes/php/php.sock;
                include fastcgi_params;
                fastcgi_keep_conn on;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param SCRIPT_NAME $fastcgi_script_name;
        }
    }
}

rtmp_auto_push on;
rtmp {
   server {
     listen 8001;
     interleave on;
     wait_video on;
     idle_streams off;
     max_streams 512;
     application input{
         live on;
         allow play 127.0.0.1; # localhost
         deny play all;

     }
   }
}


I love You Thnkyou its working now ♥

OQJ6a21.png
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Hello, the videojs works nice with the nginx modification. But Subtitle track are not automatically loaded on the player.

I have to load from external file

<track kind="captions" src="A.Good.Man.2014.720p.BluRay.x264.YIFY.vtt" srclang="en" label="English">

Is there any way to get subtitles automatically .

Thank you
 
below i have added the line of code for you. Restart xtreamcodes nginx after adding the file.
code to stop and start xtreamcodes nginx:

/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx
/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s stop

Code:
user  xtreamcodes;
worker_processes  auto;

worker_rlimit_nofile 300000;
events {
    multi_accept on;
    worker_connections  16000;
    use epoll;
}



http {

    include       mime.types;
    default_type  application/octet-stream;

    sendfile           on;
    tcp_nopush         on;
    tcp_nodelay        on;
    proxy_buffering off;
    client_max_body_size 100m;
    gzip on;
    gzip_comp_level 5;
    fastcgi_read_timeout 180;
    server {
        listen 3389;
        index index.php index.html index.htm;
        root /home/xtreamcodes/iptv_xtream_codes/wwwdir/;
        server_tokens off;
        chunked_transfer_encoding off;
      
        rewrite_log on;
        rewrite ^/live/(.*)/(.*)/(.*)\.(.*)$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=$4 break;
        rewrite ^/movie/(.*)/(.*)/(.*)$ /streaming/clients_movie.php?username=$1&password=$2&stream=$3 break;
        rewrite ^/(.*)/(.*)/(.*).ch$ /streaming/clients_live.php?username=$1&password=$2&stream=$3&extension=ts break;
        rewrite ^/(.*)\.ch$ /streaming/clients_live.php?extension=ts&stream=$1&qs=$query_string break;
        rewrite ^/ch(.*)\.m3u8$ /streaming/clients_live.php?extension=m3u8&stream=$1&qs=$query_string break;
      
        location ~ \.php$ {
                try_files $uri =404;
            if ($uri ~* /streaming) {
                gzip off;
            }

            if ($uri ~* /get.php) {
                gzip off;
            }

    # CORS setup
            add_header 'Access-Control-Allow-Origin' '*' always;
            add_header 'Access-Control-Expose-Headers' 'Content-Length';

            # allow CORS preflight requests
            if ($request_method = 'OPTIONS') {
                add_header 'Access-Control-Allow-Origin' '*';
                add_header 'Access-Control-Max-Age' 1728000;
                add_header 'Content-Type' 'text/plain charset=UTF-8';
                add_header 'Content-Length' 0;
                return 204;
            }

          
#access_log /home/xtreamcodes/iptv_xtream_codes/tmp/access.log;
      
                fastcgi_index index.php;
                fastcgi_pass unix:/home/xtreamcodes/iptv_xtream_codes/php/php.sock;
                include fastcgi_params;
                fastcgi_keep_conn on;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_param SCRIPT_NAME $fastcgi_script_name;
        }
    }
}

rtmp_auto_push on;
rtmp {
   server {
     listen 8001;
     interleave on;
     wait_video on;
     idle_streams off;
     max_streams 512;
     application input{
         live on;
         allow play 127.0.0.1; # localhost
         deny play all;

     }
   }
}
Wow thanks
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top