Change video source to colormatic file server

This commit is contained in:
2025-01-01 12:47:14 -08:00
parent d12a7fa400
commit 1fb373aac6
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
const BASEURL = "/"
const BASEURL = "https://files.colormatic.org/"
var videoplayer = document.getElementById("videoplayer");
var videotitle = document.getElementById("videotitle");
@ -46,4 +46,4 @@ function getVideo(cname, vname) {
});
}
getVideo(getParam("c"), getParam("v"));
getVideo(getParam("c"), getParam("v"));

View File

@ -41,11 +41,11 @@ $(document).ready(function(){
<h1>Featured Videos:</h1>
<ul class="videolist">
<li><a href="/video?c=zakarya&v=the-way-forward">
<img src="/zakarya/videos/thumbnail/wayforward.png">
<img src="https://files.colormatic.org/zakarya/videos/thumbnail/wayforward.png">
<span class="title">The Way Forward</span>
</a></li>
<li><a href="/video?c=zakarya&v=hello-world">
<img src="/zakarya/videos/thumbnail/helloworld.png">
<img src="https://files.colormatic.org/zakarya/videos/thumbnail/helloworld.png">
<span class="title">Hello World</span>
</a></li>
</ul>