lots of improvements:

hover animation
correct jumpback position after video view
load when scroll - not all at beginning
This commit is contained in:
2020-05-18 22:55:26 +02:00
parent 90e2f38c04
commit 4ad29fd072
5 changed files with 113 additions and 94 deletions

View File

@ -2,5 +2,5 @@
$arr = scandir("../videos/prn/");
foreach ($arr as $elem) {
shell_exec("ffmpeg -ss 00:04:00 -i \"../videos/prn/$elem\" -vframes 1 -q:v 2 \"$elem.jpg\"");
shell_exec("ffmpeg -ss 00:04:00 -i \"../videos/prn/$elem\" -vframes 1 -q:v 2 \"$elem.jpg\"");
}

View File

@ -5,8 +5,7 @@ $user = "mwit";
$password = "3MnDApF3bu6XDGOE";
$database = "mwitdb";
$mysqli = new mysqli($server, $user, $password,$database);
if($mysqli->connect_errno)
{
echo "connecton failed... nr: ". $mysqli->connect_errno. " -- " . $mysqli->connect_error;
$mysqli = new mysqli($server, $user, $password, $database);
if ($mysqli->connect_errno) {
echo "connecton failed... nr: " . $mysqli->connect_errno . " -- " . $mysqli->connect_error;
}