How does the front end determine whether a video link address is valid?

as the title

function CheckStatus(url){
    $.ajax({
        type: "GET",
        cache: false,
        url: url,
        dataType: "jsonp", //jsonp
        processData: false,
        data: "",
        complete: function (data) {
            if (data.status==200) {
                console.log("");
            } else {
                console.log("");
            }

        }
    });
}

it doesn"t seem to work like that.

Mar.03,2021

load the given url, directly with the video tag to register the load event to vidoe

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea6b56-1dfb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea6b56-1dfb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?