Answers for "how to wait a second before getting webpage fetch node"

2

javascript wait 5 sec

function stateChange(newState) {
    setTimeout(function () {
        if (newState == -1) {
            alert('VIDEO HAS STOPPED');
        }
    }, 5000);
}
Posted by: Guest on January-21-2021

Code answers related to "how to wait a second before getting webpage fetch node"

Code answers related to "Javascript"

Browse Popular Code Answers by Language