+
+
+
+
+
{{ $t('main.live') }}
+
+
+
+
{{ data.username }}
+
+
+
+
+
+
+
+
+
+ {{ truncate(data.stream.title, 130) }}
+
+
+
-
-
- {{ truncate(data.stream.title, 130) }}
+
+
-
-
-
-
- OFFLINE
+
+
+
+
+ {{ abbreviate(data.followers) }} {{ $t('main.followers') }}
-
-
-
-
-
-
-
- {{ abbreviate(data.followers) }} {{ $t('main.followers') }}
-
-
-
+
@@ -203,3 +207,4 @@ export default {
>
+
diff --git a/src/views/VodView.vue b/src/views/VodView.vue
index 9c0c835..2f31bc5 100644
--- a/src/views/VodView.vue
+++ b/src/views/VodView.vue
@@ -9,11 +9,12 @@ import FollowButton from '@/components/FollowButton.vue'
import LoadingScreen from '@/components/LoadingScreen.vue'
import AboutTab from '@/components/user/AboutTab.vue'
import ShareModal from '@/components/popups/ShareButtonModal.vue'
+import VueTitle from '@/components/VueTitle.vue'
+import ActionButtons from '@/components/ActionButtons.vue'
import type { Video } from '@/types'
import { truncate, abbreviate, getEndpoint } from '@/mixins'
import { getSetting } from '@/settingsManager'
-import VueTitle from '@/components/VueTitle.vue'
interface ChatComponent {
updateVodComments: (time: number) => void
@@ -41,7 +42,8 @@ export default {
status: ref<'ok' | 'error'>(),
videoOptions,
time: ref(0),
- shareModalVisible: ref(false)
+ shareModalVisible: ref(false),
+ isTheatreMode: ref(false)
}
},
async mounted() {
@@ -63,7 +65,8 @@ export default {
LoadingScreen,
AboutTab,
ShareModal,
- VueTitle
+ VueTitle,
+ ActionButtons
},
methods: {
truncate,
@@ -77,6 +80,9 @@ export default {
getSetting,
toggleShareModal() {
this.shareModalVisible = !this.shareModalVisible
+ },
+ toggleTheatreMode() {
+ this.isTheatreMode = !this.isTheatreMode
}
}
}
@@ -98,7 +104,10 @@ export default {
>
@@ -133,9 +142,13 @@ export default {
-
+