导航系统添加随机小姐姐视频页面

谈天说地
1 3082


在模板文件里面的PC 文件夹 新建一个xjj.html 文件  把下发代码复制进去,去其他模板的页脚和页头分别放到代码前后即可 

不会的

页面打开域名/s/xjj.html


<section class="uk-container uk-margin-bottom">
<div class="warp ceo-container zj" style="background: #fff; margin-top: 20px; padding-top: 0px; padding-left: 0px; padding-right: 0px;">
<div class="article_content layui-clear" style="padding:0 20px;">
    <div class="tit">
                           在线看抖音快手小姐姐视频(如果播放失败或长时间加载请播放下一个即可)
    </div>
	<div class="app">
		<div>
		    <section id="buttons">
		    	<button id="switch">连续: 开</button>
		    	<button id="next">播放下一个</button>
		    </section>
		    <section id="main"><video id="player" src="http://www.kuaidoushe.com/video.php" controls="" webkit-playsinline="" playsinline=""></video></section>
		</div>
	</div>
	</div>
</div> 
<<span class="hljs-regexp">/section>

<style type="text/css">
.app{
    overflow: hidden;
    margin: 30px 0;
}
#player {
    width: 100%;
    height: 600px;
    margin-top: 20px;
    margin-bottom: 20px;
    float: left;
    z-index: 100;
}
#buttons{
	text-align: center;
}
#switch, #next {
 	background: #007bf5;
    color: #ffffff;
    font-size: 15px;
    height: 35px;
    padding: 0px 15px;
    margin-right: 7px;
    border-radius: 20px;
    border: 0;
    cursor: pointer;
}
.tit {
    background: #f2f5f9;
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 15px;
    margin-top: 20px;
}
@media screen and (max-width: 600px){
	.box,.gotop{
		display: none!important;
	}
}


(function (window, document) {
        if (top != self) {
            window.top.location.replace(self.location.href);
        }
        var get = function (id) {
            return document.getElementById(id);
        }
        var bind = function (element, event, callback) {
            return element.addEventListener(event, callback);
        }
        var auto = true;
        var player = get('player');
        var randomm = function () {
            player.src = 'http://www.kuaidoushe.com/video.php?_t=' + Math.random();
            player.play();
        }
        bind(get('next'), 'click', randomm);
        bind(player, 'error', function () {
            randomm();
        });
        bind(get('switch'), 'click', function () {
            auto = !auto;
            this.innerText = '连续: ' + (auto ? '开' : '关');
        });
        bind(player, 'ended', function () {
            if (auto) randomm();
        });
    })(window, document);
    


暂时没有人评论
自助授权 官方qq群826939491
精选帖子
新版4.2授权码的填写方式 5822
国际导航30多款模板进行免费 7649
国际导航采集扩展 12251
api接口使用教程【v3.1.3】 8138
使用本系统搭建违法,触犯,站点公告 8817
虚拟主机安装出现数据连接失败解决方案 17552
国际网址导航新版标签大全 18307
关于2.4之前版本想转3.0新版教程 9220
GUOJIZ国际网址导航系统全新V5.8(2022-04-26) 69844
热门帖子
导航系统正式发布欢迎下载测试反馈 9827
Guojiz下载系统素材系统抢先发布1.0版本 9324
关于2.4之前版本想转3.0新版教程 9220
Guojiz导航系统模板标签调用参数大全 9195
QQ登录、功能配置、xml生成显示模块不存在 891
素材系统预计月底发布 8889
使用本系统搭建违法,触犯,站点公告 8817
广告添加万能调用方法 8717
MyuCMS社区+商城内容管理系统V2.0正式版 8714