js实现当前页面video/audio播放一个其它停止
var ve = document.getElementsByTagName("video"); for (var i = 0;i<ve.length;i++) { Videostate(ve[i],i); } function Videostate(ele,nu…
var ve = document.getElementsByTagName("video"); for (var i = 0;i<ve.length;i++) { Videostate(ve[i],i); } function Videostate(ele,nu…