clean up footer things

This commit is contained in:
Ginger Wong
2020-06-28 15:08:08 -07:00
parent a9b8a70e8a
commit 6c7af9ffae
5 changed files with 45 additions and 16 deletions

View File

@@ -18,6 +18,7 @@ async function setupApp() {
summary: "",
tags: [],
title: "",
appVersion: "",
},
watch: {
@@ -66,9 +67,9 @@ function setupWebsocket() {
// Uncomment to point to somewhere other than goth.land
const protocol = location.protocol == "https:" ? "wss" : "ws"
var ws = new WebSocket(protocol + "://" + location.host + "/entry")
// var ws = new WebSocket(protocol + "://" + location.host + "/entry")
// var ws = new WebSocket("wss://goth.land/entry")
var ws = new WebSocket("wss://goth.land/entry")
ws.onmessage = (e) => {
const model = JSON.parse(e.data)

View File

@@ -1,9 +1,17 @@
Vue.component('owncast-footer', {
props: {
appVersion: {
type: String,
default: "0.1",
},
},
template: `
<footer class="flex border-t border-gray-500 border-solid">
<footer class="flex">
<span>
<a href="https://github.com/gabek/owncast" target="_blank">About Owncast</a>
</span>
</span>
<span>Version {{appVersion}}</span>
</footer>
`,
});

View File

@@ -1,5 +1,5 @@
const streamURL = '/hls/stream.m3u8';
// const streamURL = 'https://goth.land/hls/stream.m3u8'; // Uncomment me to point to remote video
// const streamURL = '/hls/stream.m3u8';
const streamURL = 'https://goth.land/hls/stream.m3u8'; // Uncomment me to point to remote video
// style hackings
window.VIDEOJS_NO_DYNAMIC_STYLE = true;