Commit eb7de51c authored by Mark Harding's avatar Mark Harding

(fix): videos not playing in modal if embeded in remind

parent 6b503c18
No related merge requests found
Pipeline #85553444 running with stages
......@@ -144,7 +144,9 @@ export class MediaModalComponent implements OnInit, OnDestroy {
this.entity.title ||
`${this.entity.ownerObj.name}'s post`;
this.entity.guid = this.entity.entity_guid || this.entity.guid;
this.thumbnail = this.entity.thumbnails.xlarge;
this.thumbnail = this.entity.thumbnails
? this.entity.thumbnails.xlarge
: null;
switch (this.entity.custom_type) {
case 'video':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment