var video=document.getElementById("video");//获取video对象
video.controls=false;//设置控制条不显示
function setControl(){
if(video.currentTime>=2*60){ //video当前播放时间(秒)
video.controls=true;//设置控制条显示
}
setTimeOut("setControl()",1);//每隔1毫秒调用一次,相当于实时获取当前播放时间
}
setControl();