video.js显示div为30秒

时间:2015-04-22 05:00:31

标签: javascript jquery html html5 video.js

我想在视频达到30秒时显示隐藏的div标签。我正在使用video.js而不是简单的video标记。有人能帮助我吗?

<video id="video1" class=" video-js vjs-default-skin" controls preload="none"  width="498" height="280" poster="img/Home.jpg" data-setup="{}" onended="showfadeIn()" onplay="hidefadeIn()">
    <source src="video/sportv5b_1_2.mp4" type="video/mp4">
    <source src="video/sportv5b_1_2.ogv" type="video/ogv">
    <source src="video/sportv5b_1_2.webm" type="video/webm">
    <p>Your user agent does not support the HTML5 Video element.</p>
</video>

0 个答案:

没有答案