small changes to template
This commit is contained in:
parent
589c8cfe84
commit
5e1b5de187
|
|
@ -19,9 +19,8 @@
|
||||||
<div class="video">
|
<div class="video">
|
||||||
<h1>{{ block.value.title }}</h1>
|
<h1>{{ block.value.title }}</h1>
|
||||||
<div>{{ block.value.description }}</div>
|
<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">
|
<source src={{ block.value.url }} type="video/mp4">
|
||||||
Your browser does not support the video tag.
|
Your browser does not support the video tag.
|
||||||
</video>
|
</video>
|
||||||
|
|
@ -39,14 +38,11 @@
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
console.log("sali")
|
|
||||||
function open_web_based_training(url){
|
function open_web_based_training(url){
|
||||||
var realUrl = {% get_media_prefix %} + url
|
var realUrl = {% get_media_prefix %} + url
|
||||||
console.log("Loading wbt", realUrl)
|
console.log("Loading wbt", realUrl)
|
||||||
window.location.href = realUrl;
|
window.location.href = realUrl;
|
||||||
}
|
}
|
||||||
console.log("adee")
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue