diff --git a/src/components/VideoPlayerStatsForNerds.vue b/src/components/VideoPlayerStatsForNerds.vue new file mode 100644 index 000000000..a17d82f78 --- /dev/null +++ b/src/components/VideoPlayerStatsForNerds.vue @@ -0,0 +1,213 @@ + + + + + + + + + diff --git a/src/components/widgets/VideoPlayer.vue b/src/components/widgets/VideoPlayer.vue index 2d9ab3647..3677c0933 100644 --- a/src/components/widgets/VideoPlayer.vue +++ b/src/components/widgets/VideoPlayer.vue @@ -1,5 +1,6 @@ + No video stream selected. @@ -88,6 +89,13 @@ :color="widget.options.flipVertically ? 'white' : undefined" hide-details /> + Rotate Left Rotate Right @@ -101,6 +109,7 @@ import { storeToRefs } from 'pinia' import { computed, onBeforeMount, onBeforeUnmount, ref, toRefs, watch } from 'vue' +import StatsForNerds from '@/components/VideoPlayerStatsForNerds.vue' import { isEqual } from '@/libs/utils' import { useAppInterfaceStore } from '@/stores/appInterface' import { useVideoStore } from '@/stores/video' @@ -134,6 +143,7 @@ onBeforeMount(() => { flipHorizontally: false, flipVertically: false, rotationAngle: 0, + statsForNerds: false, internalStreamName: undefined as string | undefined, } widget.value.options = Object.assign({}, defaultOptions, widget.value.options)