{
    分享网正式开通,我们为大家提供免费资源,欢迎大家踊跃投稿!

苹果CMSV10整合dplayer播放器教程

苹果CMSV10整合dplayer播放器教程,使用方法:将文件上传到自己的网站(比如文件名叫dplayer.php,上传到要目录),在苹果cms后台播放器设置中开启解析,解析域名设置为/dplayer.php/?url=

播放器功能:支持格式:m3u8、mp4,播放记忆,P2P加速(去除在视频中P2P信息),自动播放下一集(仅电脑端),去掉弹幕(需要的自行去掉注释),手机增加引导点击播放图片

很多人都要去右键菜单,这次更新代码已经去掉了,另外修复了安卓手机原生浏览器播放与暂时的问题

代码: 

<html>
        <head>
                <title>dplayer增加记忆+P2P播放</title>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
                <meta http-equiv="X-UA-Compatible" content="IE=11" />
                <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" id="viewport" name="viewport">
                <link rel="stylesheet"  />
                 
          
        </head>
        <body style="background:#000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu=window.event.returnValue=false>
                <div id="dplayer"></div>
                <div id="stats"></div>
                <div id="play_icon"></div>
                <script src="https://cdn.jsdelivr.net/npm/cdnbye@latest"></script>
                <script src="https://cdn.jsdelivr.net/npm/dplayer@latest"></script>
                                <style type="text/css">
                        body,html{width:100%;height:100%;background:#000;padding:0;margin:0;overflow-x:hidden;overflow-y:hidden}
                        *{margin:0;border:0;padding:0;text-decoration:none}
                        #stats{position:fixed;top:5px;left:10px;font-size:10px;color:#fdfdfd;z-index:20719029;text-shadow:1px 1px 1px #000, 1px 1px 1px #000}
                        #dplayer{position:inherit}
                        .dplayer-menu.dplayer-menu-show{display:none}
                        #play_icon {
                                background-color: black;
                                height:100%;
                                background-image: url("data:image/gif;base64,R0lGODlhxgL0AfU/ANLS0gAAAGRkZKOjo4WFhaurq9zc3ERERAQGB/mHAMTExLu7u////+Pj46NZAKEnEh1unT4+PpmZme8/IlhYWHFxcchtAGc4ALOzs8MzHC4uLhdWe5GRkY6Oj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rVfDVzdkXFAOu50OJ/qqW8AWjXDzIjQG0a/p+p6CQRSweAgiOR2kbeXsBaCowdVmNGC6NyXOGxSZpuVqUaZG2ZhsMj5PLK3QxaTVqIF8iT2JyU4IWGFuFeXs7ilCMQ2cTR2pICAGUbZZAf4COaDSRh4h8fZguF7Gys7S0n1gXt7W7uxEAIfkEBRQACQAsRwFjAToACwAABJRQyElDODhrC4DpnwdYQ2meFqGuLOUKliYfVmh3Y1AMe88PKZbwVbnMMpybyEDyOYPCFXESO2ICCNBSRDp5oVHCVFK1JrfcwM/JA0fHMKM5oAzl2D73cFw+nrUfTGpeKAFhUnxyfgGAOB8WeD96LYlWV4yBaAhqkQWTiFN9MzVaW12EJZ8qFqytrq+wsaybWBa0shYRACH5BAUUAAkALEcBYwE6AAsAAASTkMhJQxA4a3u6/xYAGCI5AtagrizlEpYmC9xnW2YuokEx+MDf4FW5zDI1myekOxlSwShxEjtikspDAFFynlKs8FRStWKVTO83IIz+xjCjOZBdBpomnjsILx/PNwEnXSRPbGEtY34zgCCCamt7Qn1yf3R1WoKFaghskgWUVleXdThdXmCIKhasra6vsLGyr51bFp0RACH5BAUUAAkALEcBYwE7AAsAAASZcMhJQyA4ayu6/9YhjqQFAMaZokBQDG8MD5ZmE9ynh2RvrcBTayaL1W6ZnM7D641MQZYhQKnSLkiMciloOg8BhErKohaJx+x26XVCyeWzLI1c7wLfZyC6GlondDd2IHh5YAEsYylTcjOBNoNMhXkmcGVEmAWPGwFckoaHZIsnCH+AWGqdnl2TXz9jZBZhFgi0sre4ubq7vLsRADs=");
                                background-size: contain;
                                background-repeat: no-repeat;
                                background-position: center;  
                                display:flex;
                                align-items: center;  
                                position: absolute;
                                top: 0px;
                                left: 0px;
                                width: 100%;
                        }
                        #play_icon img { 
                                width:10%;
                                margin-left: 45%;
                        }
                </style>
                <script>
                        var url = '<?php echo($_REQUEST['url']);?>';
                        var isWap = navigator.userAgent.match(/iPad|iPhone|iPod|Baidu/i) != null; //百度浏览器和苹果移动端不使用P2P功能
                        if(!isWap){
                                if(url.indexOf(".m3u8") > 0){         
                                        var _peerId = '', _peerNum = 0, _totalP2PDownloaded = 0, _totalP2PUploaded = 0;       
                                        var type = 'customHls';
                                }
                                else {
                                        var type = 'normal'; //MP4格式P2P兼容性不好,不调用P2P。
                                }
                                var dp = new DPlayer({
                                        container: document.getElementById('dplayer'),
                                        autoplay: true,
                                        hotkey: true,  // 移动端全屏时向右划动快进,向左划动快退。
                                        logo: '',
                                        video: {
                                                url:url,
                                                pic: '',  //图片地址。
                                                type: type,
                                                customType: {
                                                        'customHls': function (video, player) {
                                                                const hls = new Hls({
                                                                        debug: false,
                                                                        p2pConfig: {
                                                                                logLevel: true,
                                                                                live: false,        // 如果是直播设为true
                                                                        }
                                                                });
                                                                hls.loadSource(video.src);
                                                                hls.attachMedia(video);
                                                                hls.p2pEngine.on('stats', function (stats) {
                                                                        _totalP2PDownloaded = stats.totalP2PDownloaded;
                                                                        _totalP2PUploaded = stats.totalP2PUploaded;
                                                                        //updateStats();
                                                                }).on('peerId', function (peerId) {
                                                                        _peerId = peerId;
                                                                }).on('peers', function (peers) {
                                                                        _peerNum = peers.length;
                                                                        //updateStats();
                                                                });
                           
                                                        }
                                                }
                                        },                       
                                        /*danmaku: {
                                                id: 'E3368B56CDBB4IU',   //弹幕代码,可定义其他的ID,请修改;
                                                api: 'https://dplayer.moerats.com/',
                                                bottom: '25%',
                                                unlimited: false,
                                        }, */            
                                        contextmenu: [
                                        ],
                                        highlight: [
                                                {
                                                        text: '提示:点击下方状态栏可以发送字幕',
                                                        time: 360,
                                                },
                                                {
                                                        text: '警告:请不要相信视频中任何广告与字幕',
                                                        time: 1200,
                                                },
                                        ]
                                });
                                  
                                var webdata = {
                                        set:function(key,val){
                                                window.sessionStorage.setItem(key,val);
                                        },
                                        get:function(key){
                                                return window.sessionStorage.getItem(key);
                                        },
                                        del:function(key){
                                                window.sessionStorage.removeItem(key);
                                        },
                                        clear:function(key){
                                                window.sessionStorage.clear();
                                        }
                                };
                                dp.seek(webdata.get('vod'+url));
                                setInterval(function(){
                                        webdata.set('vod'+url,dp.video.currentTime);
                                },1000);
                                dp.on('ended',function() {
                                        dp.notice("视频播放已结束");                   //可以替换成下一集调用等代码
                                        if(parent.MacPlayer.PlayLinkNext!=''){
                                        top.location.href = parent.MacPlayer.PlayLinkNext;}
                                });       
                        }
                        else{
                                document.getElementById('dplayer').innerHTML='<video src="'+url+'" controls="controls" preload="preload" poster="" width="100%" height="100%"></video>';
                        }
                        function updateStats() {
                                var text = '七星P2P正在为您加速' + (_totalP2PDownloaded/1024).toFixed(2)
                                        + 'MB 已分享' + (_totalP2PUploaded/1024).toFixed(2) + 'MB' + ' 连接节点' + _peerNum + '个';
                                document.getElementById('stats').innerText = text ;
                        }
                </script>
                <script>
                                        var video = document.getElementsByTagName('video')[0];
                                        if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
                                                        //手机端
                                                        var img = new Image();
                                                        img.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsSAAALEgHS3X78AAAMWElEQVR42u1db0gjZxofJ2E1JiH/TGxMwDObP9L20wq93hW5WLLcIkpZrKCu0MUFu0TbL1KhcMdmuQ+F9NwPdi1dyy0WWlewfija4tHQZFl61yunn9aSmOzkAhOzGvOPTDImZPQ+rCnj6+RfTTKTZJ6PrzNx5vnN83ue93nf93maTk5OIAaLGEGQP/J4vCtcLrertbX1VRiGRTwez1DMzTiOu46Pj2PJZPJpJpPx4ji+ffny5X+enJwQTH3hJiYB4nQ6ZTwe71pra+ubAoHgjWIVX6rgOO7CMOzHZDL5A47jm93d3SEWEBIIAoFgVCgUviUSiUx0PEMsFrPF4/FvMAx7RDc4tAGCIEi/WCyekEqlQ0yijHA4vBaNRh9qNJrvGgIQFEWnZTLZdCl0RBAEFo/Hd8PhsOvo6Cju8Xh2I5FIPN89EolEqNVq9S0tLUKpVGoQCoV6DocjKIX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NPCwsLo2BHAzAdwtgG92Tx+Xw31Gr1Z1QUxnRgskAYDIaxfM+Poujtzs7Or8r9/ysCSNZaXnrppc/A9RQqx2+z2dbp9jFLS0s9JpNpMJfDrqRVVAUQkm/pb29vvwMuB1M5f7/f71hbW1uv1jq61WrVDw0NDapUKiOVswYmvT/v7+/f1Wg031XymSoOCDk8VigUH5JbKeUD5/DwcMvtdm+trq5ulSsQMJvNHcPDwz06na6nra2tpxAIEPRid8jBwcFHFw1nGQcIGRiZTDadKxrLxdnxeHw3HA67jo6O4h6PZ7dQoTWJRCLUarX6lpYWoVQqNQiFQn0un5AregqFQverBQRtgJCpTCwWT4B7iemWcDi8Fo1GH1aamhgHCNn5CwSCUaFQ+BbYoaFaEovFbPF4/BsMwx5VylnXDCAgODwe71pra+ubAoHgjVJorRTBcdyFYdiPyWTyBxzHN+kGgbGA5KI2Ho93hcvldp3WtRUVCxSO467j4+NYMpl8mslkvDiOb9NFRcXK/wG7viMTqo7LKQAAAABJRU5ErkJggg==";
                                                        document.getElementById("play_icon").appendChild(img);
                                                        video.setAttribute("playsinline", "true");
                                                        video.setAttribute("webkit-playsinline", "true");
                                                        video.setAttribute("x5-video-player-type", "h5");
                                                        video.setAttribute("x5-video-player-fullscreen", "false");
                                                        var state = 0;
                                                        video.onplay = function(){
                                                                document.getElementById("play_icon").style.display = "none";
                                                                state=1;
                                                        }
                                                          
                                                        video.onpause = function(){
                                                                state = 0;
                                                        }
                                                        document.addEventListener('click', function(){   
                                                                if(state==0){       
                                                                        video.play(); 
                                                                }else {
                                                                        video.pause();
                                                                }
                                                        }, false);
                                                        document.addEventListener("WeixinJSBridgeReady", function () {   
                                                                        video.play();
                                                        }, false);
                                        }else{
                                                //电脑端
                                                document.getElementById("play_icon").remove();
                                                video.oncanplay = function(){
                                                                video.play();
                                                }
                                        }
                </script>
                  
        </body>
</html>

资源均来自第三方,谨慎下载,前往第三方网站下载


米微资源分享网 , 版权所有丨本站资源仅限于学习研究,严禁从事商业或者非法活动!丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:苹果CMSV10整合dplayer播放器教程
喜欢 ()分享 (0)