diff --git a/NUXT/components/Player/captions.vue b/NUXT/components/Player/captions.vue new file mode 100644 index 0000000..962611c --- /dev/null +++ b/NUXT/components/Player/captions.vue @@ -0,0 +1,5 @@ + + + mdi-closed-caption-outline + + diff --git a/NUXT/components/Player/controls.vue b/NUXT/components/Player/controls.vue deleted file mode 100644 index 00b2318..0000000 --- a/NUXT/components/Player/controls.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - {{ watched }} - - / {{ $vuetube.humanTime(video.duration) }} - - - - - - - - - - - diff --git a/NUXT/components/Player/fullscreen.vue b/NUXT/components/Player/fullscreen.vue new file mode 100644 index 0000000..7ce07bf --- /dev/null +++ b/NUXT/components/Player/fullscreen.vue @@ -0,0 +1,17 @@ + + + {{ fullscreen ? "mdi-fullscreen-exit" : "mdi-fullscreen" }} + + + + diff --git a/NUXT/components/Player/index.vue b/NUXT/components/Player/index.vue index abc230d..60fe2a3 100644 --- a/NUXT/components/Player/index.vue +++ b/NUXT/components/Player/index.vue @@ -39,7 +39,7 @@ height: 100%; opacity: 0; " - @doubleclick.stop="$refs.player.currentTime -= $refs.player.duration / 10" + @dbclick.stop="$refs.player.currentTime -= $refs.player.duration / 10" > mdi-rewind @@ -55,7 +55,7 @@ height: 100%; opacity: 0; " - @doubleclick.stop="$refs.player.currentTime += $refs.player.duration / 10" + @dbclick.stop="$refs.player.currentTime += $refs.player.duration / 10" > mdi-fast-forward @@ -67,318 +67,68 @@ mdi-chevron-down - - mdi-sync - - - mdi-closed-caption-outline - + + mdi-close - - - + :video="$refs.player" + @close="controls = false" + /> -