small changes to template
This commit is contained in:
parent
589c8cfe84
commit
5e1b5de187
|
|
@ -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 %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue