diff --git a/resources/assets/js/components/presenter/VideoPresenter.vue b/resources/assets/js/components/presenter/VideoPresenter.vue index 4395c34ca..333a482f2 100644 --- a/resources/assets/js/components/presenter/VideoPresenter.vue +++ b/resources/assets/js/components/presenter/VideoPresenter.vue @@ -22,7 +22,7 @@ :alt="altText(status)"/>
-
@@ -76,7 +76,15 @@ toggleContentWarning(status) { this.$emit('togglecw'); - } + }, + + poster() { + let url = this.status.media_attachments[0].preview_url; + if(url.endsWith('no-preview.jpg') || url.endsWith('no-preview.png')) { + return; + } + return url; + } } }