File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
2- if (!is_array ($ _GET )&&count ($ _GET )>0 ){ header ("Location: ../error.php " ); exit ();}
3- include ("../lib.php " );
2+ if (!is_array ($ _GET )&&count ($ _GET )>0 ){ header ("Location: ../error.php " ); exit ();} include ("../lib.php " );
43?>
54<!DOCTYPE html>
65<html>
6+
77 <head>
88 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
9+ <base href="<?php echo trim (Root_part ()," embed/ " ) ?> /" />
910 <link href="//cdn.bootcss.com/video.js/5.20.4/alt/video-js-cdn.min.css" rel="stylesheet" />
10- <script src="proxy.php?url=https%3A%2F%2Flibs.cdnjs.net%2Fvideo.js%2F5.20.4%2Fvideo.min.js"></script>
11- <script type="text/javascript" src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">../inc/4.js"></script>
12- <link rel="stylesheet" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">../inc/theme.css" type="text/css">
11+ <script src="proxy.php?url=https%3A%2F%2Flibs.cdnjs.net%2Fvideo.js%2F5.20.4%2Fvideo.min.js"></script>
12+ <script type="text/javascript" src="proxy.php?url=https%3A%2F%2Fgithub.com%2F.%2Finc%2F4.js"></script>
13+ <link rel="stylesheet" href="proxy.php?url=https%3A%2F%2Fgithub.com%2F.%2Finc%2Ftheme.css" type="text/css">
1314 </head>
15+
1416 <body>
15- <div style="max-width:100%;height:auto">
16- <video id="video1" class="video-js vjs-fluid" loop="loop" width="100%" preload="auto" webkit-playsinline="true" playsinline="true" x-webkit-airplay="true" controls="controls" controls preload="auto" width="100%" poster="../thumbnail.php?type=maxresdefault&vid=<?php echo $ _GET ['v ' ] ?> " >
17- <source src="../vs.php?vv=<?php echo $ _GET ['v ' ] ?> &quality=720" type='video/mp4' res="720" label='720P'/>
18- <source src="../vs.php?vv=<?php echo $ _GET ['v ' ] ?> &quality=360" type='video/mp4' res="360" label='360P' />
19- <?php get_timedtext ($ _GET ['v ' ]);?>
20- </video>
21- <script>videojs('video1').videoJsResolutionSwitcher();</script>
22- </div>
23-
17+ <div style="max-width:100%;height:auto">
18+ <?php html5_player ($ _GET [ 'v ' ]); ?>
19+ <script>
20+ videojs('h5player').videoJsResolutionSwitcher();
21+ </script>
22+ </div>
2423 </body>
24+
2525</html>
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ function Check_allow_urlopen(){
310310 if (get_cfg_var ('allow_url_fopen ' )) {
311311 return '<th class="text-gray">支持</th> ' ;
312312 } else {
313-
313+ $ ch = curl_init ();
314314 return '<th class="text-dot">不支持,请联系服务商或自行启用</th> ' ;
315315 }
316316 }
Original file line number Diff line number Diff line change 33 * Youtube Proxy
44 * Simple Youtube PHP Proxy Server
55 * @author ZXQ
6- * @version V4.0
6+ * @version V1.2
77 * @description 核心操作函数集合
88 */
99
@@ -430,7 +430,7 @@ function shareit($id,$title='免翻墙Youtube镜像'){
430430 <div class='form-group'><div class='d-inline-block h6 pt-3 col-12'>
431431 分享代码:
432432 </div>
433- <textarea style='resize:none;height: auto' class='form-control d-inline align-middle col-12 icoys icontext' id='inputs' type='text' rows='5' placeholder='Default input'><iframe height=498 width=510 src=" " .ROOT_PART ."embed/?v= " .$ id ."; " frameborder=0 "allowfullscreen"></iframe></textarea>
433+ <textarea style='resize:none;height: auto' class='form-control d-inline align-middle col-12 icoys icontext' id='inputs' type='text' rows='5' placeholder='Default input'><iframe height=498 width=510 src=" " .ROOT_PART ."embed/?v= " .$ id ."" frameborder=0 "allowfullscreen"></iframe></textarea>
434434
435435 <button type='submit' class='btn btn-primary align-middle col-12 mt-2' onclick='copytext1()'>复制</button></div> " ;
436436
Original file line number Diff line number Diff line change 8181 <i class="fa fa-share-square-o pr-1"></i>分享
8282 </span>
8383 <span class="pr-1">
84- <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F.%2Fcontent.php%3Fcont%3Dvideo%26amp%3Bv%3D%3Cspan+class%3D"pl-ent"><?php echo $ videodata ['items ' ]['0 ' ]['id ' ] ?> " target="_blank" class="fsize2"><i class="fa fa-share-square-o pr-1"></i>下载</a>
84+ <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F.%2Fcontent.php%3Fcont%3Dvideo%26amp%3Bv%3D%3Cspan+class%3D"pl-ent"><?php echo $ videodata ['items ' ]['0 ' ]['id ' ] ?> " target="_blank" class="fsize2"><i class="fa fa-arrow-down pr-1"></i>下载</a>
8585 </span>
8686 </span>
8787 </div>
You can’t perform that action at this time.
0 commit comments