diff --git a/src/app/components/stream/status/action-bar/action-bar.component.ts b/src/app/components/stream/status/action-bar/action-bar.component.ts
index 1ac1a619..13a335ed 100644
--- a/src/app/components/stream/status/action-bar/action-bar.component.ts
+++ b/src/app/components/stream/status/action-bar/action-bar.component.ts
@@ -11,7 +11,6 @@ import { AccountInfo } from '../../../../states/accounts.state';
import { Status } from '../../../../services/models/mastodon.interfaces';
import { ToolsService } from '../../../../services/tools.service';
import { NotificationService } from '../../../../services/notification.service';
-import { st } from '@angular/core/src/render3';
@Component({
selector: 'app-action-bar',
diff --git a/src/app/components/stream/status/attachements/attachements.component.html b/src/app/components/stream/status/attachements/attachements.component.html
index 56ab50ae..72895312 100644
--- a/src/app/components/stream/status/attachements/attachements.component.html
+++ b/src/app/components/stream/status/attachements/attachements.component.html
@@ -1,57 +1,53 @@
+
+
+
\ No newline at end of file
diff --git a/src/app/components/stream/status/attachements/attachements.component.scss b/src/app/components/stream/status/attachements/attachements.component.scss
index 8aaf9471..081e828e 100644
--- a/src/app/components/stream/status/attachements/attachements.component.scss
+++ b/src/app/components/stream/status/attachements/attachements.component.scss
@@ -71,4 +71,10 @@
}
}
}
+
+ &__gifv{
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
}
\ No newline at end of file
diff --git a/src/app/components/stream/status/attachements/attachements.component.ts b/src/app/components/stream/status/attachements/attachements.component.ts
index 04acec7c..8bbd6147 100644
--- a/src/app/components/stream/status/attachements/attachements.component.ts
+++ b/src/app/components/stream/status/attachements/attachements.component.ts
@@ -12,6 +12,7 @@ import { OpenMediaEvent } from '../../../../models/common.model';
export class AttachementsComponent implements OnInit {
private _attachments: Attachment[];
isImage: boolean;
+ isGifv: boolean;
imageUrls: string[];
@Input('attachments')
@@ -20,7 +21,9 @@ export class AttachementsComponent implements OnInit {
if (this._attachments[0].type === 'image') {
this.isImage = true;
- // this.imageUrls = this._attachments.map(x => x.url);
+ } else if(this._attachments[0].type === 'gifv'){
+ console.warn(value);
+ this.isGifv = true;
}
}
get attachments(): Attachment[] {