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!

Problem starting the stream player in the Streams / Manage Streams

dynux

Extended Member
Ext. Member
Joined
May 10, 2020
Messages
9
Reaction score
10
Points
14
Location
world
Hello,
i'm having a problem starting the stream player in the Streams / Manage Streams section, when i browse the admin panel in https the stream does not start.
If i browse the admin panel in http the stream starts correctly.
Everything is working properly expected the stream player function in admin panel when i browse in https
Can you please help me understanding if i'm doing something wrong?
Thank you very much.
 
Last edited:
Hello,
i'm having a problem starting the stream player in the Streams / Manage Streams section, when i browse the admin panel in https the stream does not start.
If i browse the admin panel in http the stream starts correctly.
Everything is working properly expected the stream player function in admin panel when i browse in https
Can you please help me understanding if i'm doing something wrong?
Thank you very much.

i have fixed with a workaround modifying the player.php as shown:

PHP:
 <?php if ($_GET["type"] == "live") { ?>
        if(Hls.isSupported()) {
            var hls = new Hls();
            hls.loadSource("http://<?=($rServers[$_INFO["server_id"]]["domain_name"] ? $rServers[$_INFO["server_id"]]["domain_name"] : $rServers[$_INFO["server_id"]]["server_ip"])?>:<?=$rServers[$_INFO["server_id"]]["http_broadcast_port"]?>/live/<?=$rAdminSettings["admin_username"]?>/<?=$rAdminSettings["admin_password"]?>/<?=$_GET["id"]?>.m3u8");
            hls.attachMedia(video);
            hls.on(Hls.Events.MANIFEST_PARSED,function() {
                video.play();
            });
        }
        <?php } else if ($_GET["type"] == "movie") { ?>
        video.src = "http://<?=($rServers[$_INFO["server_id"]]["domain_name"] ? $rServers[$_INFO["server_id"]]["domain_name"] : $rServers[$_INFO["server_id"]]["server_ip"])?>:<?=$rServers[$_INFO["server_id"]]["http_broadcast_port"]?>/movie/<?=$rAdminSettings["admin_username"]?>/<?=$rAdminSettings["admin_password"]?>/<?=$_GET["id"]?>.<?=$_GET["container"]?>";
        <?php } else if ($_GET["type"] == "series") { ?>
        video.src = "http://<?=($rServers[$_INFO["server_id"]]["domain_name"] ? $rServers[$_INFO["server_id"]]["domain_name"] : $rServers[$_INFO["server_id"]]["server_ip"])?>:<?=$rServers[$_INFO["server_id"]]["http_broadcast_port"]?>/series/<?=$rAdminSettings["admin_username"]?>/<?=$rAdminSettings["admin_password"]?>/<?=$_GET["id"]?>.<?=$_GET["container"]?>";
        <?php } ?>

to

PHP:
 <?php if ($_GET["type"] == "live") { ?>
        if(Hls.isSupported()) {
            var hls = new Hls();
            hls.loadSource("https://<?=($rServers[$_INFO["server_id"]]["domain_name"] ? $rServers[$_INFO["server_id"]]["domain_name"] : $rServers[$_INFO["server_id"]]["server_ip"])?>:<?=$rServers[$_INFO["server_id"]]["https_broadcast_port"]?>/live/<?=$rAdminSettings["admin_username"]?>/<?=$rAdminSettings["admin_password"]?>/<?=$_GET["id"]?>.m3u8");
            hls.attachMedia(video);
            hls.on(Hls.Events.MANIFEST_PARSED,function() {
                video.play();
            });
        }
        <?php } else if ($_GET["type"] == "movie") { ?>
        video.src = "https://<?=($rServers[$_INFO["server_id"]]["domain_name"] ? $rServers[$_INFO["server_id"]]["domain_name"] : $rServers[$_INFO["server_id"]]["server_ip"])?>:<?=$rServers[$_INFO["server_id"]]["https_broadcast_port"]?>/movie/<?=$rAdminSettings["admin_username"]?>/<?=$rAdminSettings["admin_password"]?>/<?=$_GET["id"]?>.<?=$_GET["container"]?>";
        <?php } else if ($_GET["type"] == "series") { ?>
        video.src = "https://<?=($rServers[$_INFO["server_id"]]["domain_name"] ? $rServers[$_INFO["server_id"]]["domain_name"] : $rServers[$_INFO["server_id"]]["server_ip"])?>:<?=$rServers[$_INFO["server_id"]]["https_broadcast_port"]?>/series/<?=$rAdminSettings["admin_username"]?>/<?=$rAdminSettings["admin_password"]?>/<?=$_GET["id"]?>.<?=$_GET["container"]?>";
        <?php } ?>
 
Last edited:
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top