パブリックvideofull(){ //全屏播放视频 VAR _this =この; _this.video =のdocument.getElementById( 'homeVideo')。//视频 _this.btnFullScreen =のdocument.getElementById( 'btn_fullscreen'); //全屏点击按钮 //实现全屏功能 _this.btnFullScreen.addEventListener( 'クリック'、関数(){ // IF(_this.video.requestFullscreen){ // _this.video.requestFullscreen(); //}そうなら(_this.video.mozRequestFullScreen){ // _this.video.mozRequestFullScreen(); //}そうであれば(_this.video.webkitRequestFullscreen){ // _this.video.webkitRequestFullscreen(); //}そう(_this.video場合.msRequestFullscreen){ // _this.video.msRequestFullscreen()。 //} !_this.isAutoplay = _this.isAutoplay。 //するif(!_ this.isAutoplay){ // _this.video.play(); //} }、 falseを ); }