react解决 H5 video标签播放一个视频,暂停其他视频 stanwu 2021-04-26 1,796 阅读1分钟 1.useEffect里先获取所有video标签的dom 2.遍历所有video,控制pause(),play()方法