From 1601ee1800d7a47963d6198393959206efae564f Mon Sep 17 00:00:00 2001 From: Georgiy Date: Thu, 22 Aug 2024 19:54:50 +0300 Subject: [PATCH] feat: Captions added --- NUXT/components/Player/captions.vue | 74 +++++++++++++++++++++++++++-- NUXT/components/Player/index.vue | 57 +++++++++++++++++++++- NUXT/components/vidLoadRenderer.vue | 2 +- NUXT/pages/watch.vue | 2 + NUXT/plugins/innertube.js | 8 ++++ NUXT/plugins/utils.js | 71 ++++++++++++++++++++++++--- NUXT/plugins/vuetube.js | 20 ++++++-- NUXT/plugins/youtube.js | 3 +- 8 files changed, 220 insertions(+), 17 deletions(-) diff --git a/NUXT/components/Player/captions.vue b/NUXT/components/Player/captions.vue index 8645a52b..720ccdb2 100644 --- a/NUXT/components/Player/captions.vue +++ b/NUXT/components/Player/captions.vue @@ -1,5 +1,73 @@ + diff --git a/NUXT/components/Player/index.vue b/NUXT/components/Player/index.vue index 7694e096..22d913d5 100644 --- a/NUXT/components/Player/index.vue +++ b/NUXT/components/Player/index.vue @@ -57,7 +57,9 @@ :poster="$youtube.getThumbnail($route.query.v, '', [])" @loadedmetadata="checkDimensions()" @click="controlsHandler()" - /> + > + +