在老婆面前帮学生拉筋,其实早就撕破裤子偷偷干


            .dplayer{margin-top:10px}



            .dplayer-video-wrap{



                width: 100%;



                height: 430px!important;;



                background: #000000;



            }



            .dplayer-video-wrap .dplayer-video{



                width: 100%;



                height: 100%!important;



            }



            .addheight{



                height: 100%!important;



            }



            .dplayer-logo img{



                border-radius:0 !important



            }







                $(function(){



                    const dp_0 = new DPlayer({



                        container: document.getElementById(dplayer-0),



                        lang: zh-cn,



                        video: {



                            url: /upload/tid/705635/dc8b36ef6b5b7db068a3af6be9698762.mp4,



                            type: mp4



                        },



                    });



                    dp_0.on(fullscreen, function () {



                        console.log(player fullscreen);



                        $(.dplayer-video-wrap).css({width:100%,height:100%});



                    });



                    dp_0.on(fullscreen_cancel, function () {



                        $(.dplayer-video-wrap).attr(style,);



                        $(.dplayer-video-wrap).removeClass(addheight)



                    });







                    dp_0.on(resize, function () {



                        if($(.dplayer-video-wrap).hasClass(addheight)){



                            $(.dplayer-video-wrap).removeClass(addheight).attr(style,)



                            $(.dplayer).removeClass(dplayer-fulled)



                            $(body).removeClass(dplayer-web-fullscreen-fix)



                        }else{



                            $(.dplayer-video-wrap).addClass(addheight).attr(style,)



                        }



                    });



                })
点击分享给色友
留言区
登陆方可留言 [ 点击登陆 ]

已有 0 条留言