在线随机小姐姐视频代码,只需要吧下面代码粘贴到任意地方都可以,文章页面也可以,视频接口来源于外部接口,失效的话可以自行替换。其中:http://v.nrzj.vip/video.php
就是随机调用来源。
懒猫遇到的随机视频源:
小姐姐: http://v.nrzj.vip/video.php
DJ: http://mn.bt8.top/zjxjj/djxjj/video.php
精品: https://api.ainio.cn/mp4
清晰横版:https://www.cunshao.com/666666/api/pc.php
手机版: https://www.cunshao.com/666666/api/web.php
歌唱 https://188sp.711888.xyz/188/video.php
合集一: http://www.kuaidoushe.com/video.php
合集二: http://xjj.nbtd.vip/cs/video.php
MTV: http://mn.bt8.top/zjxjj/mtv/mtv.php
国外抖音: http://mn.bt8.top/tkxjj/video.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
| <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> (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> <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>
|