0

Quality selector not working when I call the via jquery ajax.

HTML

<video style="background:black; border-radius:20px;"class="" id="player"  "> </video>

            
                                

Ajax code

$.ajax({  
                url:"/retrieve/video.php",  
                method:"POST",  
                data:{quality:quality,slig:slig,episode:episode,server:server},  
                success:function(data){  
                    
                    $("#loaders").hide();
            
                    $('#player').show();
                    $('#player').append(data);

                }                  
           }); 
dingo_d
  • 11,160
  • 11
  • 73
  • 132
  • have you checked for any errors in console? have you checked with manual values (that match what the ajax is returning) that it works as expected? – Offbeatmammal Feb 23 '21 at 02:37
  • No errors at all, the ajax is working fine. It loaded the 3 with different resolution but the plyr.io can't change quality – Hais Haise Feb 24 '21 at 03:08

0 Answers0