I find other way
const video = document.querySelector('video');video.addEventListener('canplaythrough', (event) => { console.log('I think I can play through the entire '+'video without ever having to stop to buffer.');});
source - https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canplaythrough_event