How to get duration of the <video> html tag in Node.js

后端 未结 0 1991
夕颜
夕颜 2020-12-05 22:47

Using console in the browser this is really simple:

var vid = document.getElementsByTagName("video");
console.log(vid[0].duration)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题