|
@@ -18,8 +18,8 @@
|
|
<source :src="media.url" :type="media.mime">
|
|
<source :src="media.url" :type="media.mime">
|
|
</video>
|
|
</video>
|
|
|
|
|
|
- <div v-else-if="media.type == 'Image'" slot="img" :title="media.description" :class="media.filter_class">
|
|
|
|
- <img class="d-block img-fluid w-100" :src="media.url" :alt="media.description" loading="lazy">
|
|
|
|
|
|
+ <div v-else-if="media.type == 'Image'" slot="img" :title="media.description">
|
|
|
|
+ <img :class="media.filter_class + ' d-block img-fluid w-100'" :src="media.url" :alt="media.description" loading="lazy">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p v-else class="text-center p-0 font-weight-bold text-white">Error: Problem rendering preview.</p>
|
|
<p v-else class="text-center p-0 font-weight-bold text-white">Error: Problem rendering preview.</p>
|
|
@@ -38,12 +38,12 @@
|
|
>
|
|
>
|
|
<b-carousel-slide v-for="(media, index) in status.media_attachments" :key="media.id + '-media'">
|
|
<b-carousel-slide v-for="(media, index) in status.media_attachments" :key="media.id + '-media'">
|
|
|
|
|
|
- <video v-if="media.type == 'Video'" slot="img" class="embed-responsive-item" preload="none" controls loop :alt="media.description" width="100%" height="100%" :poster="media.preview_url">
|
|
|
|
|
|
+ <video v-if="media.type == 'Video'" slot="img" class="embed-responsive-item" preload="none" controls loop :title="media.description" width="100%" height="100%" :poster="media.preview_url">
|
|
<source :src="media.url" :type="media.mime">
|
|
<source :src="media.url" :type="media.mime">
|
|
</video>
|
|
</video>
|
|
|
|
|
|
- <div v-else-if="media.type == 'Image'" slot="img" :class="media.filter_class" :title="media.description">
|
|
|
|
- <img class="d-block img-fluid w-100" :src="media.url" :alt="media.description" loading="lazy">
|
|
|
|
|
|
+ <div v-else-if="media.type == 'Image'" slot="img" :title="media.description">
|
|
|
|
+ <img :class="media.filter_class + ' d-block img-fluid w-100'" :src="media.url" :alt="media.description" loading="lazy">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<p v-else class="text-center p-0 font-weight-bold text-white">Error: Problem rendering preview.</p>
|
|
<p v-else class="text-center p-0 font-weight-bold text-white">Error: Problem rendering preview.</p>
|