参考1: https://github.com/videojs/video.js/issues/455
参考2: https://stackoverflow.com/questions/16137381/html5-video-element-request-stay-pending-forever-on-chrome
// this hack clears up any pending socket issues. damn it chrome.
if(window.stop !== undefined) {
window.stop();
} else if(document.execCommand !== undefined) {
document.execCommand("Stop", false);
}
网友评论