mirror of https://github.com/VueTubeApp/VueTube
parent
08f59ee58b
commit
ca794fa8bc
|
@ -106,11 +106,9 @@
|
|||
export default {
|
||||
|
||||
computed: {
|
||||
roundTweak: {
|
||||
get() {
|
||||
return this.$store.state.tweaks.roundTweak;
|
||||
}
|
||||
},
|
||||
roundTweak() {
|
||||
return this.$store.state.tweaks.roundTweak;
|
||||
}
|
||||
},
|
||||
|
||||
data() {
|
||||
|
|
|
@ -5,10 +5,11 @@
|
|||
style="position: sticky; top: 0; z-index: 696969"
|
||||
:vid-src="vidSrc"
|
||||
ref="player"
|
||||
v-if="useBetaPlayer != true"
|
||||
/>
|
||||
|
||||
<!-- VueTube Player V1 -->
|
||||
<!-- <VTPlayerV1 :sources="sources" v-if="sources.length > 0" />-->
|
||||
<VTPlayerV1 :sources="sources" v-if="useBetaPlayer == true" />
|
||||
|
||||
<v-card v-if="loaded" class="ml-2 mr-2 background" flat>
|
||||
<v-card-title
|
||||
|
@ -138,8 +139,11 @@ export default {
|
|||
recommends: null,
|
||||
loaded: false,
|
||||
interval: null,
|
||||
|
||||
useBetaPlayer: false,
|
||||
};
|
||||
},
|
||||
|
||||
watch: {
|
||||
// Watch for change in the route query string (in this case, ?v=xxxxxxxx to ?v=yyyyyyyy)
|
||||
$route: {
|
||||
|
@ -160,6 +164,8 @@ export default {
|
|||
mounted() {
|
||||
this.startTime = Math.floor(Date.now() / 1000);
|
||||
this.getVideo();
|
||||
|
||||
this.useBetaPlayer = localStorage.getItem('debug.BetaPlayer');
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
|
|
Loading…
Reference in New Issue