js实现视频本地预览,以及获取播放时长

<video style="display:none;" controls="controls" id="aa" oncanplaythrough="myFunction(this)"></video> <input type="file" οnchange="changeFile(this)" > <script> function myFunction(ele) {      //视频
相关文章
相关标签/搜索