|
|
@ -1,25 +1,25 @@ |
|
|
|
<template> |
|
|
|
<v-spacer class="wrapper width-100vw align-center py-7 mb-13 neutrals darken-1" height="100%"> |
|
|
|
<v-carousel hide-delimiters class="py-5" width="100%" height="100%"> |
|
|
|
<template v-for="(video, i) in exhibition.videos"> |
|
|
|
<v-carousel-item v-if="exhibition.videos.length > 0" :key="i"> |
|
|
|
<v-row align="center" justify="center"> |
|
|
|
<iframe :width="$vuetify.breakpoint.smAndUp ? 640 : 320" :height="$vuetify.breakpoint.smAndUp ? 360 : 180" |
|
|
|
:src="video" title="YouTube video player" frameborder="0" |
|
|
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
|
|
|
allowfullscreen></iframe> |
|
|
|
</v-row> |
|
|
|
</v-carousel-item> |
|
|
|
</template> |
|
|
|
<template v-for="(image, index) in exhibition.gallery.images"> |
|
|
|
<v-carousel-item v-if="exhibition.gallery" |
|
|
|
:key="'image'+index"> |
|
|
|
<v-row align="center" justify="center"> |
|
|
|
<v-img :src="image" contain :width="$vuetify.breakpoint.smAndUp ? 640 : 320" |
|
|
|
:height="$vuetify.breakpoint.smAndUp ? 360 : 180"></v-img> |
|
|
|
</v-row> |
|
|
|
</v-carousel-item> |
|
|
|
</template> |
|
|
|
<template v-for="(video, idx) in exhibition.videos"> |
|
|
|
<v-carousel-item v-if="exhibition.videos.length > 0" :key="'video' + idx"> |
|
|
|
<v-row align="center" justify="center"> |
|
|
|
<iframe :width="$vuetify.breakpoint.smAndUp ? 640 : 320" :height="$vuetify.breakpoint.smAndUp ? 360 : 180" |
|
|
|
:src="video.VideoLink" title="YouTube video player" frameborder="0" |
|
|
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
|
|
|
allowfullscreen> |
|
|
|
</iframe> |
|
|
|
</v-row> |
|
|
|
</v-carousel-item> |
|
|
|
</template> |
|
|
|
<template v-for="(image, index) in exhibition.gallery"> |
|
|
|
<v-carousel-item v-if="exhibition.gallery" :key="'image' + index"> |
|
|
|
<v-row align="center" justify="center"> |
|
|
|
<v-img :src="image.ImageLink" contain :width="$vuetify.breakpoint.smAndUp ? 640 : 320" |
|
|
|
:height="$vuetify.breakpoint.smAndUp ? 360 : 180"></v-img> |
|
|
|
</v-row> |
|
|
|
</v-carousel-item> |
|
|
|
</template> |
|
|
|
</v-carousel> |
|
|
|
</v-spacer> |
|
|
|
</template> |
|
|
|