0
我正在使用Youtube API,並想知道是否有人知道,如果當你點擊YouTube播放器的時間(在視頻的底部)以進展/或返回視頻中的較早點時,如果BUFFERING或state = 3值總是會發生?點擊不同時間的Youtube API BUFFERING(state = 3)總是會發生?
例如:
function onPlayerStateChange(event) {
//video is buffering, one cause is the user
//clicked to progress/go back in the video.
//Does buffering state always happen in this case?
if (event.data == 3) {
//BUFFERING
}
}