use app file from web-layout
This commit is contained in:
@@ -8,7 +8,7 @@ function setupApp() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
window.app = new Vue({
|
window.app = new Vue({
|
||||||
el: "#info",
|
el: "#app",
|
||||||
data: {
|
data: {
|
||||||
streamStatus: "",
|
streamStatus: "",
|
||||||
viewerCount: 0,
|
viewerCount: 0,
|
||||||
@@ -23,7 +23,7 @@ function setupApp() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
window.chatForm = new Vue({
|
window.chatForm = new Vue({
|
||||||
el: "#chat-form",
|
el: "#chatForm",
|
||||||
data: {
|
data: {
|
||||||
message: {
|
message: {
|
||||||
author: "",//localStorage.author || "Viewer" + (Math.floor(Math.random() * 42) + 1),
|
author: "",//localStorage.author || "Viewer" + (Math.floor(Math.random() * 42) + 1),
|
||||||
@@ -103,7 +103,7 @@ function setupWebsocket() {
|
|||||||
|
|
||||||
setupApp()
|
setupApp()
|
||||||
getStatus()
|
getStatus()
|
||||||
// setupWebsocket()
|
setupWebsocket()
|
||||||
// setInterval(getStatus, 5000)
|
// setInterval(getStatus, 5000)
|
||||||
|
|
||||||
// HLS Video setup. Commented out for local html work. Uncomment to make HLS work.
|
// HLS Video setup. Commented out for local html work. Uncomment to make HLS work.
|
||||||
|
|||||||
Reference in New Issue
Block a user