diff options
author | adityacp | 2018-07-13 23:06:24 +0530 |
---|---|---|
committer | adityacp | 2018-07-13 23:06:24 +0530 |
commit | 4814ec20eb19ffad9150f8e67660bf402b1cd8b7 (patch) | |
tree | a2422112f00d200a2fe49bf7fdc114b675c76fc3 /yaksh/templates | |
parent | d2f1328238f35373761686d3b405f4afbedfba7f (diff) | |
download | online_test-4814ec20eb19ffad9150f8e67660bf402b1cd8b7.tar.gz online_test-4814ec20eb19ffad9150f8e67660bf402b1cd8b7.tar.bz2 online_test-4814ec20eb19ffad9150f8e67660bf402b1cd8b7.zip |
Add default video in demo lesson
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/add_lesson.html | 4 | ||||
-rw-r--r-- | yaksh/templates/yaksh/demo_video.html | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/add_lesson.html b/yaksh/templates/yaksh/add_lesson.html index ebc3ed7..2f8e733 100644 --- a/yaksh/templates/yaksh/add_lesson.html +++ b/yaksh/templates/yaksh/add_lesson.html @@ -5,11 +5,11 @@ {% block script %} <script src="{{ URL_ROOT }}/static/yaksh/js/lesson.js"></script> -<script src="https://code.jquery.com/ui/1.9.1/jquery-ui.js"></script> +<script src="{{ URL_ROOT }}/static/yaksh/js/jquery-ui.js"></script> {% endblock %} {% block css %} -<link rel="stylesheet" href="{{URL_ROOT}}/static/yaksh/css/jquery-ui.css"> +<link rel="stylesheet" href="{{URL_ROOT}}/static/yaksh/css/jquery-ui/jquery-ui.css"> <link rel="stylesheet" href="{{URL_ROOT}}/static/yaksh/css/lesson.css"> {% endblock %} diff --git a/yaksh/templates/yaksh/demo_video.html b/yaksh/templates/yaksh/demo_video.html new file mode 100644 index 0000000..74fd7c8 --- /dev/null +++ b/yaksh/templates/yaksh/demo_video.html @@ -0,0 +1,11 @@ +<br>
+<center>
+<div id="iframe_div">
+ <div style="width: 640px; height: 480px; position: relative;">
+ <iframe id="video_frame" src="https://www.youtube.com/embed/oHmm3mPxg6Y" width="640" height="480" frameborder="0" allowfullscreen>
+ </iframe>
+ <div style="width: 80px; height: 80px; position: absolute; opacity: 0; right: 0px; top: 0px;">
+ </div>
+ </div>
+</div>
+</center>
\ No newline at end of file |