Forums » Tutorial and setups »
ss iptv
Added by jordi s over 8 years ago
Hi,
Need some help.
I would like give access to "ss iptv" ( L G ) to tvheadend channel list
Cross-domain requests are forbidden on L G S m a r t T Vs, but there is a work arround:
Configure your server according to CORS technology. In practice, response's http-header has to contain the following string:
Access-Control-Allow-Origin: http://app.ss-iptv.com
or
Access-Control-Allow-Origin: *
or
you can use PHP to add the necessary header to the separate file:
<\?php
header("Access-Control-Allow-Origin: http://app.ss-iptv.com");
$playlist = file_get_contents('channels.m3u');
echo($playlist);
?>
Files can be changed in the box?
Where the files are?
tks
Nice work
Replies (1)
RE: ss iptv - Added by jordi s over 8 years ago
have to define HTTP CORS origin in tvheadend - 4.1 - general configuration.