small changes to template

This commit is contained in:
Lorenz Padberg 2022-04-19 17:31:40 +02:00
parent 589c8cfe84
commit 5e1b5de187
1 changed files with 1 additions and 5 deletions

View File

@ -19,9 +19,8 @@
<div class="video">
<h1>{{ block.value.title }}</h1>
<div>{{ block.value.description }}</div>
<div>{{ block.value.url }}</div>
<video width="640" height="480" controls>
<video width="50%" controls>
<source src={{ block.value.url }} type="video/mp4">
Your browser does not support the video tag.
</video>
@ -39,14 +38,11 @@
<script>
console.log("sali")
function open_web_based_training(url){
var realUrl = {% get_media_prefix %} + url
console.log("Loading wbt", realUrl)
window.location.href = realUrl;
}
console.log("adee")
</script>
{% endblock %}