fix: 🚑 Fix alex's mess ups

we love him anyway <3
This commit is contained in:
Kenny 2022-03-30 07:38:15 -04:00
parent 9a824998ae
commit 7082cde26a
1 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@
<div class="accent"> <div class="accent">
<!-- Stock Player --> <!-- Stock Player -->
<videoPlayer :vidSrc="vidSrc" /> <videoPlayer :vid-src="vidSrc" />
<!-- VueTube Player V1 --> <!-- VueTube Player V1 -->
<!-- <VTPlayerV1 :sources="sources" v-if="sources.length > 0" />--> <!-- <VTPlayerV1 :sources="sources" v-if="sources.length > 0" />-->
@ -60,7 +60,7 @@
<p>Channel Stuff</p> <p>Channel Stuff</p>
</v-card-text> </v-card-text>
<div v-if="showMore" class="scroll-y ml-2 mr-2"> <div v-if="showMore" class="scroll-y ml-2 mr-2">
<slim-video-description-renderer :render="description"> <slim-video-description-renderer :render="description" />
</div> </div>
<!-- <v-bottom-sheet <!-- <v-bottom-sheet
@ -91,18 +91,11 @@
</div> </div>
</template> </template>
<style>
.vertical-button span.v-btn__content {
flex-direction: column;
justify-content: space-around;
}
</style>
<script> <script>
import { Share } from "@capacitor/share"; import { Share } from "@capacitor/share";
import ShelfRenderer from "~/components/SectionRenderers/shelfRenderer.vue"; import ShelfRenderer from "~/components/SectionRenderers/shelfRenderer.vue";
import VidLoadRenderer from "~/components/vidLoadRenderer.vue"; import VidLoadRenderer from "~/components/vidLoadRenderer.vue";
import SlimVideoDescriptionRenderer from '../components/UtilRenderers/slimVideoDescriptionRenderer.vue'; import SlimVideoDescriptionRenderer from '~/components/UtilRenderers/slimVideoDescriptionRenderer.vue';
export default { export default {
components: { ShelfRenderer, VidLoadRenderer, SlimVideoDescriptionRenderer }, components: { ShelfRenderer, VidLoadRenderer, SlimVideoDescriptionRenderer },
@ -179,7 +172,7 @@ export default {
result.availableResolutions[ result.availableResolutions[
result.availableResolutions.length - 1 result.availableResolutions.length - 1
].url; // Takes the highest available resolution with both video and Audio. Note this will be lower than the actual highest resolution ].url; // Takes the highest available resolution with both video and Audio. Note this will be lower than the actual highest resolution
//--- Content Stuff ---// //--- Content Stuff ---//
this.title = result.title; this.title = result.title;
this.description = result.renderedData.description; // While this works, I do recommend using the rendered description instead in the future as there are some things a pure string wouldn't work with this.description = result.renderedData.description; // While this works, I do recommend using the rendered description instead in the future as there are some things a pure string wouldn't work with
@ -217,3 +210,10 @@ export default {
}, },
}; };
</script> </script>
<style>
.vertical-button span.v-btn__content {
flex-direction: column;
justify-content: space-around;
}
</style>