<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>NOTFLIX TV</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="//content.jwplatform.com/libraries/SAHhwvZq.js"></script>
<script>document.addEventListener('contextmenu', function(event) {event.preventDefault();});</script>

  <style>
    body {
      margin: 0;
      font-family: 'Arial', sans-serif;
      background-color: #333;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
    }

    #videoForm {
      background-color: #444;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    #announcement {
      margin-bottom: 16px;
      color: #ffcc00;
    }

    label {
      display: block;
      margin-bottom: 8px;
      font-weight: bold;
    }

    input {
      width: 100%;
      padding: 10px;
      margin-bottom: 16px;
      box-sizing: border-box;
      border: 1px solid #666;
      border-radius: 4px;
      font-size: 14px;
      background-color: #555;
      color: #fff;
    }

    input[type="button"] {
      background-color: #4caf50;
      color: white;
      cursor: pointer;
      font-size: 16px;
      font-weight: bold;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
    }

    .jwplayer {
      position: absolute !important
    }

    .jwplayer.jw-flag-aspect-mode {
      min-height: 100%;
      max-height: 100%
    }
  </style>
</head>

  <div id="jwplayerDiv"></div>
  <script type="text/javascript">
var playerSetup = {
      file: '<?= $linkValue ?>',
      position: 'bottom',
      autostart: true,
      stretching: "",
      width: "100%",
       tracks: [
                {
                    file: '<?= $su ?>',
                    label: 'English',
                    kind: 'captions',
                    default: true
                }
            ],
    };
    {
      // Set up DRM for DASH with keys
      playerSetup.type = 'mp4';
      
    } 
    jwplayer("jwplayerDiv").setup(playerSetup);
</script>
</html>