<!DOCTYPE html>
<html lang="en">
<head>
   
    <meta charset="UTF-8">
    <title>PROXIMITY PLAY</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            margin: 0;
            font-family: Arial, sans-serif;
        }

        .telegram-link {
            background-color: #0088cc;
            color: white;
            text-align: center;
            padding: 10px;
            font-size: 16px;
            font-weight: bold;
        }

        .jwplayer {
            position: absolute !important;
            top: 50px; /* Adjust to fit below the Telegram link */
            width: 100%;
            height: calc(100% - 50px); /* Adjust to fit below the Telegram link */
        }

        .jwplayer.jw-flag-aspect-mode {
            min-height: 100%;
            max-height: 100%;
        }
    </style>
</head>
<body>
    <!-- Telegram link -->
    <div class="telegram-link">
        <a href="https://t.me/live_cricket_24" target="_blank" style="color: white; text-decoration: none;">Join us on Telegram</a>
    </div>
    
    <!-- JWPlayer -->
    <div id="jwplayerDiv"></div>

    <script src="//content.jwplatform.com/libraries/SAHhwvZq.js"></script>
    <script type="text/javascript">
        var config = {"file":"https://cors-anywhere.ammoapps.com/https://dfwlive-v1-c1p3-sponsored.live.cf.dtvcdn.com/Content/HLS.cps/Live/channel(WILLHD-3291.dfw.1080)/index.m3u8","drm":{"clearkey":{"keyId":"59ed8dc9d4a48857ef8e5865919496cc","key":"0d3680bd8b349deda8b7fdd1da71b7f8"}}};

        jwplayer("jwplayerDiv").setup({
            file: config.file,
            position: 'bottom',
            autostart: true,
            stretching: "",
            width: "100%",
            type: "dash",
            drm: {
            clearkey: {
                    keyId: config.drm.clearkey.keyId,
                    key: config.drm.clearkey.key
                }
            }
          
        });
    </script>
</body>
</html>
