JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

JavaScript

$.ajax({
  url: 'http://universeiptv.com:8000/player_api.php?username=fghdfghdfgh&password=dfghdfghdfg',
  timeout: 5000, // 2 seconds timeout
  dataType: "json",
  success: function(data){
    alert('success');
  },
  error: function(data){
      xx=data.statusCode();
    for(x in xx)console.log(x+' - '+xx[x]);
  }
});