如何使用Javascript检索<video>元素的长度(以秒为单位)?

use*_*903 2 html javascript jquery html5 html5-video

我有一个<video>id为"liveVideo" 的标签.如何在几秒钟内检索视频的长度?

谢谢,

大卫!