var myPlayer = videojs('my-video',{
"autoplay":true,
"isFullscreen":true
});
videojs("my-video").ready(function(){
var myPlayer = this;
myPlayer.play();
myPlayer.enterFullScreen();
document.getElementsByClassName("vjs-progress-control")[0].style.display="none";
});
会提示Uncaught TypeError: myPlayer.enterFullScreen is not a function
相关分类