add preferListen prop to PlaylistVideos.vue

This commit is contained in:
Max-F-Helm 2024-02-27 15:21:49 +01:00
parent a1c8529503
commit 34448f7e66

View file

@ -6,6 +6,7 @@
:item="related"
:index="index"
:playlist-id="playlistId"
:prefer-listen="preferListen"
height="94"
width="168"
/>
@ -15,6 +16,7 @@
<script>
import { nextTick } from "vue";
import VideoItem from "./VideoItem.vue";
export default {
components: { VideoItem },
props: {
@ -30,6 +32,10 @@ export default {
type: Number,
required: true,
},
preferListen: {
type: Boolean,
default: false,
},
},
watch: {
playlist: {