Fix manifest uri in user.njk

pull/8/head
knotteye 4 years ago
parent 2a5e8d6ec2
commit 7b5a498241
  1. 2
      templates/user.njk

@ -3,7 +3,7 @@
<script src="/shaka-player.compiled.js"></script> <script src="/shaka-player.compiled.js"></script>
<script> <script>
shakaPolyFilled = false; shakaPolyFilled = false;
var manifestUri = "https://spacecowboy.cc/live/knotteye/index.mpd"//document.location.protocol+'//'+document.location.host+'/live/{{ username }}/index.mpd'; var manifestUri = document.location.protocol+'//'+document.location.host+'/live/{{ username }}/index.mpd';
async function initPlayer() { async function initPlayer() {
if(!shakaPolyFilled){ if(!shakaPolyFilled){
shaka.polyfill.installAll(); shaka.polyfill.installAll();