我想在播放后显示视频海报。我尝试了以下代码,但没有成功。
var video=$('#cms_video').get(0);
video.play();
video.addEventListener('ended',function(){
this.posterImage.show();
});