video update

master
hhCandy 5 years ago
parent 7319a3dd5d
commit a9efecc8f0
  1. 2
      etc/dplayer/setup.js
  2. 2
      functions.php
  3. 2
      video/404.mp4/index.php
  4. 2
      video/video.php
  5. 4
      video/video_address.php

@ -22,7 +22,7 @@ const dp = new DPlayer({
volume: 0.7,
mutex: true,
video: {
url: 'https://obs-410c.obs.myhwclouds.com/video/404.mp4'
url: 'https://cn.yimian.xyz/video/404.mp4'
},
danmaku: {
id: 'null',

@ -534,7 +534,7 @@ function video__bodyUp()
{
yimian__header("Yimian Video","video,Yimian","This is the page for showing video class.");
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cn.yimian.xyz/video/css/bootstrap.css\">
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css\">
<link rel=\"stylesheet\" href=\"https://cn.yimian.xyz/video/css/style.css\">";

@ -0,0 +1,2 @@
<?php
header("Location: https://yimian-video.obs.myhwclouds.com/404.mp4");die();

@ -129,7 +129,7 @@ function attach()
$("#videoName").html("VideoName: "+g_vName);
$("#videoId").html("VideoId: "+g_vId);
$("#videoLength").html("VideoDuration: "+dp.video.duration+'s');
$("#videoDownload").html("VideoDownloadUrl: "+g_vUrl2);
$("#videoDownload").html("VideoDownloadUrl: <a href='"+g_vUrl2+"'>"+g_vUrl2+"</a>");
$("#videoState").html("PlayState: "+!dp.video.paused);
$("#videoSeek").html("PlaySeek: "+dp.video.currentTime+'s');
(dp.danmaku.dan.length>1500)||$("#dansFrom").html("DansBilibili: Off");

@ -8,11 +8,11 @@ $fp=$_REQUEST['fp'];
if(isset($_SESSION['s_fp']))
{
if($_SESSION['s_fp']!=$fp) die();
if($_SESSION['s_fp']!=$fp) {header("Location: https://yimian-video.obs.myhwclouds.com/404.mp4");die();}
}
if(!isset($fp)||$fp=="") die();
if(!isset($fp)||$fp=="") {header("Location: https://yimian-video.obs.myhwclouds.com/404.mp4");die();}
$conn=db__connect();

Loading…
Cancel
Save