added thumbnails for Kyu8
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
require_once("./auth.php");
|
||||
require_once("./config/participo.php");
|
||||
//require_once("./auth.php");
|
||||
|
||||
require("lib/Parsedown.php");
|
||||
require("lib/Spyc.php");
|
||||
require($config['basePath']."/ressourcen/parsedown/Parsedown.php");
|
||||
require($config['basePath']."/ressourcen/spyc/Spyc.php");
|
||||
|
||||
$mdRoot = "markdown/".(array_key_exists('kyu', $_GET)?$_GET['kyu']:"8")."terKyu";
|
||||
|
||||
@@ -114,6 +115,8 @@ function html5VideoFrame($item){
|
||||
." width=\"".$item['width']."\""
|
||||
." height=\"".$item['height']."\""
|
||||
." controls"
|
||||
." preload=\"none\""
|
||||
.( array_key_exists('poster', $item) ? " poster=\"".$item['poster']['url']."\"" : "" )
|
||||
."></video>";
|
||||
}
|
||||
|
||||
@@ -137,16 +140,14 @@ function ytLightEmbed($item){
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Gürtelprüfungsordnung</title>
|
||||
|
||||
<?php readfile("./shared/imports.php");?>
|
||||
|
||||
<!-- unpkg : use the latest version of Video.js -->
|
||||
<link href="https://unpkg.com/video.js/dist/video-js.min.css" rel="stylesheet">
|
||||
<script src="https://unpkg.com/video.js/dist/video.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo($config['baseUrl']);?>/ressourcen/video-js/video-js.min.css">
|
||||
<script type="javascript" src="<?php echo($config['baseUrl']);?>/ressourcen/video-js/video.min.js"></script>
|
||||
|
||||
<!-- Include the CSS & JS.. (This could be direct from the package or bundled) -->
|
||||
<link rel="stylesheet" href="lib/lite-youtube-embed/lite-yt-embed.css" />
|
||||
<script src="lib/lite-youtube-embed/lite-yt-embed.js"></script>
|
||||
<!-- <link rel="stylesheet" href="lib/lite-youtube-embed/lite-yt-embed.css" />
|
||||
<script src="lib/lite-youtube-embed/lite-yt-embed.js"></script> -->
|
||||
|
||||
<!--- AutoInit -->
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user