experimanting with youtube
This commit is contained in:
@@ -35,6 +35,14 @@ function getCurPagesUrl(){
|
||||
return $pageURL;
|
||||
}
|
||||
|
||||
function youtubeFrame($ytUrl, $from=NULL, $to=NULL){
|
||||
// return "<iframe "
|
||||
// ."src=\"".$ytUrl."\""
|
||||
// .(!empty($from)?("start=\"".$from."\""):"")
|
||||
// .(!empty($to)?("end=\"".$to."\""):"")
|
||||
// ."></iframe>";
|
||||
return "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/TE992jTbkek\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>";
|
||||
}
|
||||
function htmlCardCode($article, $Parsedown){
|
||||
if(
|
||||
empty($article['yaml'])
|
||||
@@ -63,16 +71,21 @@ return
|
||||
:""
|
||||
)
|
||||
."</div>"
|
||||
.(
|
||||
array_key_exists( 'youtube', $article['yaml'])
|
||||
?("<div class=\"materialboxed\">".youtubeFrame($article['yaml']['youtube']['url'])."</div>")
|
||||
:""
|
||||
)
|
||||
."<div class=\"card-content white-text\">"
|
||||
."<span class=\"card-title activator\">"
|
||||
.$article['yaml']['title']
|
||||
."<i class=\"right\">+</i>"
|
||||
."<i class=\"material-icons right\">more_vert</i>"
|
||||
."</span>"
|
||||
."</div>"
|
||||
."<div class=\"card-reveal\">"
|
||||
."<span class=\"card-title\">"
|
||||
.$article['yaml']['title']
|
||||
."<i class=\"right\">X</i>"
|
||||
."<i class=\"material-icons right\">close</i>"
|
||||
."</span>"
|
||||
.$Parsedown->text($article['mdText'])
|
||||
."</div>"
|
||||
@@ -80,7 +93,6 @@ return
|
||||
."</div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
@@ -91,6 +103,9 @@ return
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@materializecss/materialize@1.1.0-alpha/dist/css/materialize.min.css">
|
||||
<!-- Compiled and minified JavaScript -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@materializecss/materialize@1.1.0-alpha/dist/js/materialize.min.js"></script>
|
||||
<!--Import Google Icon Font-->
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
|
||||
<!--- AutoInit -->
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
@@ -106,7 +121,18 @@ return
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
h1{
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
h2{
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
h3{
|
||||
font-size: 2.0rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--Let browser know website is optimized for mobile-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<style>
|
||||
@@ -122,6 +148,7 @@ return
|
||||
<li><a href="kyu.php?kyu=7">7. Kyu - gelb</a></li>
|
||||
<li><a href="kyu.php?kyu=6">6. Kyu - gelb-orange</a></li>
|
||||
<li><a href="kyu.php?kyu=5">5. Kyu - orange</a></li>
|
||||
<li><a href="kyu.php?kyu=4">5. Kyu - orange-grün</a></li>
|
||||
</ul>
|
||||
<a href="#" data-target="slide-out" class="sidenav-trigger"><i class="material-icons">menu</i></a>
|
||||
<?php
|
||||
@@ -158,7 +185,7 @@ return
|
||||
};
|
||||
?>
|
||||
|
||||
<footer class="page-footer">
|
||||
<footer class="page-footer blue-grey darken-1">
|
||||
<div class="container">
|
||||
<div class="col l4 offset-l2 s12">
|
||||
<ul>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: "Tsuri-komi-goshi"
|
||||
youtube:
|
||||
url: "https://www.youtube.com/watch?v=TE992jTbkek"
|
||||
from: 53
|
||||
to: 89
|
||||
---
|
||||
@@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "Grundform der Wurftechnik"
|
||||
---
|
||||
3
DieJudoGürtelprüfung/markdown/4terKyu/meta.yaml
Normal file
3
DieJudoGürtelprüfung/markdown/4terKyu/meta.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "4. Kyu - orange-grüner Gürtel"
|
||||
---
|
||||
@@ -1,5 +1,9 @@
|
||||
---
|
||||
title: "Im Stand-Randori Wurftechniken auch bei gegengleichem Griff werfen, ohne den Griff zu lösen und im Boden-Randori in der Ausgangssituation \"Beinklammer\" beginnen"
|
||||
video:
|
||||
url: "videos/5terKyu/Randori/Randori.webm"
|
||||
width: 854
|
||||
height: 480
|
||||
---
|
||||
|
||||
Die Gesamtzeit für das Prüfngsfach Randori sollte auch bei mehreren Partnerwechseln 10 Minuten nicht überschreiten. Die beim Randori übenden Judoka sollen:
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
title: "Lexikon/neue japanische Begriffe"
|
||||
---
|
||||
Die Prüflinge sollten vor allem die Begriffe kennen, die zum Bestehen der Prüfung notwendig sind, z.B. die Namen der geforderten Judotechniken.
|
||||
|
||||
| Nr. | Japanisch | Deutsch |
|
||||
| ---: | --------------------: | :----------------------------------------------------- |
|
||||
| 27 | Kenka-yotsu | gegengleicher Griff (rechts gegen links und umgekehrt) |
|
||||
| 28 | Tsuri-te | Hubarm, Führhand |
|
||||
| 29 | Hiki-te | Zughand |
|
||||
| 30 | Kumi-kata | Form/Art des Greifens |
|
||||
| 31 | Morote-seoi-nage | Schulterwurf mit beiden Händen |
|
||||
| 32 | Sasae-tsuri-komi-ashi | Fußstoppwurf/Hebezugfußhalten |
|
||||
| 33 | Hiza-guruma | Knierad |
|
||||
| 34 | Okuri-ashi-barai | Fußnachfegen, beide Füße fegen |
|
||||
| 35 | O-soto-gari | große Außensichel |
|
||||
| 36 | Harai-goshi | Hüftfeger |
|
||||
3
DieJudoGürtelprüfung/markdown/5terKyu/meta.yaml
Normal file
3
DieJudoGürtelprüfung/markdown/5terKyu/meta.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "5. Kyu - oranger Gürtel"
|
||||
---
|
||||
3
DieJudoGürtelprüfung/markdown/6terKyu/meta.yaml
Normal file
3
DieJudoGürtelprüfung/markdown/6terKyu/meta.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
title: "6. Kyu - gelber-oranger Gürtel"
|
||||
---
|
||||
Reference in New Issue
Block a user