欢迎光临 - 我的站长站,本站所有资源仅供学习与参考,禁止用于商业用途或从事违法行为!

经验分享

给网站加上随机小姐姐跳舞视频功能

经验分享 我的站长站 2022-05-19 共768人阅读

看到很多资源站都有随机小姐姐跳舞视频功能,引流好东西,是不是也想给自己网站加一个,非常简单,我的站长站教你如何给网站加上随机小姐姐跳舞视频。

给网站加上随机小姐姐跳舞视频功能
功能截图

随机小姐姐视频代码

<div> <section id="main"> <video id="player" src="http://v.nrzj.vip/video.php" controls="controls" width="100%" height="400px"></video> </section> </div> <div style="text-align: center;"> <section id="buttons"> <button id="switch">连续: 开</button> <button id="next1">换一个</button> </section> </div> <script src="https://hm.baidu.com/hm.js?a8569fd6981018f096d774868306a054"></script> 
<script>
 (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://v.nrzj.vip/video.php?_t=' + Math.random(); player.play(); } bind(get('next1'), '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);</script><script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "https://hm.baidu.com/hm.js?a8569fd6981018f096d774868306a054";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})(); </script> <style> #switch,#next1{ background: #7F9CCC; color:#fff; line-height:40px; text-align:center; width:100px; border:none; margin:0 6px; border-radius:6px; font-weight:bold; } </style>


相关专题
小姐姐跳舞源码
小姐姐跳舞源码
2022-10-22 50

最近很多网站都出现了小姐姐跳舞的版块,我的站长站为大家整理了最新可用的小姐姐跳舞源码,快手抖音美女跳舞源码,随机跳舞源码下载,下载即可使用....