最近发现一个很有趣的随机小姐姐视频源码 分享给大家

2020-09-28 15:02:23 浏览数 (1)

演示地址:https://www.315368.com/xjj/

顶部 css

代码语言:txt复制
<style>

* {
    border: 0;
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

body {
    background: #000;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow-y: scroll;
}


#main {
    height: calc(100vh - 160px);
    position: relative;
}

#player {
    height: auto;
    max-height: 100%;
    box-sizing: border-box;
}

#buttons {
    height: 60px;
    padding: 10px;
}

#switch,
#next {
    background: #FFF;
    background: linear-gradient(to bottom, #FF2,#FB0);
    color: #AF2E08;
    font-size: 16px;
    font-weight: bold;
    height: 40px;
    padding: 0px 20px;
    margin: 0px 5px;
    border-radius: 20px;
}  </style>

PHP代码:

代码语言:txt复制
<?php

function read(...$filelist) {
    $list = [];
    foreach ($filelist as $file) {
        $handle = fopen($file, 'r');
        while (($line = fgets($handle)) !== false) {
            array_push($list, trim($line));
        }
        fclose($handle);
    }
    return $list;
}

$list = read('ks.txt');
$url = $list[array_rand($list)];

header("Location: {$url}");

ks.txt内容文档

代码语言:txt复制
http://txmov2.a.yximgs.com/upic/2020/01/12/14/BMjAyMDAxMTIxNDI2MzZfMTU2ODc0MzI1XzIxNjM3Nzg5NzU4XzFfMw==_b_B38cbb21286a4c4c82bc08ffb5e8acfcf.mp4
http://txmov2.a.yximgs.com/upic/2020/01/12/14/BMjAyMDAxMTIxNDQ0NDJfMTExMTczOTQ5NV8yMTYzODU1NzkzOV8xXzM=_b_Bf23ad744e720e25360a7562ce9e27732.mp4
http://txmov2.a.yximgs.com/upic/2020/01/12/18/BMjAyMDAxMTIxODM3NDhfMzM4MzExNjlfMjE2NDg3MDQ1MTZfMV8z_b_B261acd295df72f6e3e4537d46676fa48.mp4
http://txmov2.a.yximgs.com/upic/2020/01/12/18/BMjAyMDAxMTIxODM2MzBfMzM4MzExNjlfMjE2NDg2MjcxNTRfMV8z_b_Badf13fe44bca15a635e3ffdd4d7bebbb.mp4
http://txmov2.a.yximgs.com/upic/2020/01/12/17/BMjAyMDAxMTIxNzQxMTFfMTMzNTM3NTY1XzIxNjQ2MTAyNjkwXzFfMw==_b_Bc038aabedcc9adc008808e509732fb61.mp4
http://txmov2.a.yximgs.com/upic/2020/01/12/21/BMjAyMDAxMTIyMTQxMDJfMTk1ODg4MDRfMjE2NTgxMzQ1MjJfMV8z_b_B1bf66ebc3bc59185c27c66804746fdff.mp4
http://txmov2.a.yximgs.com/upic/2020/01/12/20/BMjAyMDAxMTIyMDM5MTZfOTc1NjlfMjE2NTUwMzM3NzhfMV8z_b_B3e9e2ff6f664b0e984247a5a56dcb683.mp4
http://txmov2.a.yximgs.com/upic/2020/01/12/19/BMjAyMDAxMTIxOTI2MzZfMjAzNzM1NzY4XzIxNjUxMTcxMDQwXzFfMw==_b_B450a15a80c96ea7720a60cc115d61dbe.mp4
http://txmov2.a.yximgs.com/upic/2020/01/13/08/BMjAyMDAxMTMwODQxMjNfMzU0MzgwMTgxXzIxNjY2NDYzNjc5XzFfMw==_b_Bd9f014b7f8b4881d49a0625ac3c584ca.mp4
http://txmov2.a.yximgs.com/upic/2020/01/13/02/BMjAyMDAxMTMwMjI2MDZfMjkyODQyMzM4XzIxNjY0MjU3OTk4XzFfMw==_b_Bd4855b448eab339ca63cbe8317b32650.mp4
http://txmov2.a.yximgs.com/upic/2020/01/12/21/BMjAyMDAxMTIyMTA4NDdfMjY2NjI1MTQ2XzIxNjU2NTY0Mjg3XzFfMw==_b_B13ff909ce15e78254a114c461babea18.mp4
http://txmov2.a.yximgs.com/upic/2020/01/11/12/BMjAyMDAxMTExMjM1NDRfNjkwMjYwNjE2XzIxNTkxMjcwNTI0XzFfMw==_b_Be22ebd582c34d7be21d79d7e3481ebfb.mp4
http://txmov2.a.yximgs.com/upic/2020/01/11/18/BMjAyMDAxMTExODI3MjVfMzU4NjAzMjI3XzIxNjA2MDI5MzY2XzFfMw==_b_B28fec839fab0243b3483724c53fb267f.mp4
http://txmov2.a.yximgs.com/upic/2020/01/11/14/BMjAyMDAxMTExNDA3MzZfNDIzMTkyODRfMjE1OTUwMDQ4NjlfMl8z_b_B9742a957d66255744d97a6cd97a1ce8a.mp4
http://txmov2.a.yximgs.com/upic/2020/01/11/18/BMjAyMDAxMTExODUwMDdfNTgxMzgzNTJfMjE2MDcxNjIyMzhfMV8z_b_Bc307328aacf6c505b2810dc9c04ae61b.mp4

0 人点赞