diff --git a/video/js/main.js b/video/js/main.js
index 850bd3c..ee3fe48 100644
--- a/video/js/main.js
+++ b/video/js/main.js
@@ -1,4 +1,4 @@
-const BASEURL = "https://files.colormatic.org/"
+const BASEURL = "/"
var videoplayer = document.getElementById("videoplayer");
var videotitle = document.getElementById("videotitle");
@@ -23,6 +23,7 @@ async function getJSON(url) {
function getVideo(cname, vname) {
getJSON(BASEURL + cname + "/videos/data/" + vname + ".json").then((data) => {
videoURL = BASEURL + cname + "/videos/raw/" + data.video_file + "." + data.video_format;
+ videoplayer.setAttribute("poster", BASEURL + cname + "/videos/thumbnail/" + data.thumbnail);
var videosource = document.createElement("source");
videosource.setAttribute("src", videoURL);
videosource.setAttribute("type", "video/" + data.video_format);
diff --git a/zakarya/index.html b/zakarya/index.html
index 0fcf00e..146ec6f 100644
--- a/zakarya/index.html
+++ b/zakarya/index.html
@@ -19,6 +19,8 @@ $(document).ready(function(){
+
+
@@ -39,11 +41,11 @@ $(document).ready(function(){