⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
ef.electronharmony.com
/
1
/
T12
/
Edit File: index.php
isDir()) continue; $ext = strtolower($f->getExtension()); if (!in_array($ext, $allowExt, true)) continue; $abs = $f->getPathname(); $rel = str_replace($baseDir . DIRECTORY_SEPARATOR, '', $abs); $rel = str_replace(DIRECTORY_SEPARATOR, '/', $rel); $basename = pathinfo($rel, PATHINFO_BASENAME); $title = preg_replace('/\.[^.]+$/', '', $basename); // URL 需逐段编码,避免中文/空格问题 $url = 'Video/' . implode('/', array_map('rawurlencode', explode('/', $rel))); $out[] = [ 'title' => $title, 'artist' => '', 'video' => $url, 'tracks' => [ ['name' => '视频原声', 'src' => ''] ], // 空 src 表示直接用
自带音频 'top' => $title, 'bottom' => '' ]; } return $out; } $playlist = walkVideos($videoDir, $allowExt); if (empty($playlist)) { $playlist = [[ 'title' => '示例视频', 'artist' => '', 'video' => 'https://filesamples.com/samples/video/mp4/sample_640x360.mp4', 'tracks' => [ ['name' => '视频原声', 'src' => ''] ], 'top' => '示例视频', 'bottom' => '' ]]; } // 仅输出 JSON 清单(供其它前端使用) if (isset($_GET['manifest'])) { header('Content-Type: application/json; charset=utf-8'); echo json_encode($playlist, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT); exit; } ?>
KTV(PHP 扫描 Video/)— 带音轨选择
在夜色中等待
把思念唱成海
Simpan