diff --git a/frontend/src/components/TwitchChat.vue b/frontend/src/components/TwitchChat.vue new file mode 100644 index 0000000..99bbf39 --- /dev/null +++ b/frontend/src/components/TwitchChat.vue @@ -0,0 +1,16 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/views/UserView.vue b/frontend/src/views/UserView.vue index 92aa062..7406865 100644 --- a/frontend/src/views/UserView.vue +++ b/frontend/src/views/UserView.vue @@ -3,6 +3,7 @@ import { ref, onMounted } from 'vue' import { useRoute } from "vue-router"; import type { StreamerData } from '../../../server/types/scraping/Streamer' import VideoPlayer from '../components/VideoPlayer.vue' +import TwitchChat from '../components/TwitchChat.vue' export default { async setup() { @@ -49,13 +50,6 @@ export default { src: `http://localhost:7000/proxy/stream/${username}/hls.m3u8`, type: 'application/vnd.apple.mpegurl', - label: 'tt' - }, - { - src: - `http://localhost:7000/proxy/stream/${username}/hls.m3u8`, - type: 'application/vnd.apple.mpegurl', - label: 'dd' }], fluid: true } @@ -63,6 +57,7 @@ export default { }, components: { VideoPlayer, + TwitchChat }, methods: { truncate(value: string, length: number) { @@ -110,7 +105,7 @@ export default {
OFFLINE