昨天在修改问题的时候发现[HTML] html5 audio video currentTime失效不起作用无法拖动进度条解决方法。一下是我解决问题博客。
1.[HTML] html5 audio video currentTime失效不起作用无法拖动进度条解决方法:
https://www.51-n.com/t-4306-1-1.html
2.关于video-js currentTime()无效的解决办法
https://blog.csdn.net/LLittleF/article/details/82781303
3:.移动端ios直接设置currentTime无效解决方法:
https://blog.csdn.net/qq_36611673/article/details/79994836
4.addEventListener is not a function:
addEventListener is not a function
这是因为选择器没有正确选择元素对象
document.getElementsByClassName(…)捕捉到的是该类名元素的数组
正确的访问方式应该是:
document.getElementsByClassName(…)[0].addEventListener…
参考:https://blog.csdn.net/jzsn_paul/article/details/80864739