Add address link previews

This commit is contained in:
Mononaut
2022-07-27 18:13:37 +00:00
parent 7b094d9a34
commit ace33e39ca
9 changed files with 293 additions and 11 deletions

View File

@@ -58,4 +58,14 @@ export class OpenGraphService {
this.metaService.updateTag({ property: 'og:image:width', content: '1000' });
this.metaService.updateTag({ property: 'og:image:height', content: '500' });
}
/// signal that the unfurler should wait for a 'ready' signal before taking a screenshot
setPreviewLoading() {
this.metaService.updateTag({ property: 'og:loading', content: 'loading'});
}
// signal to the unfurler that the page is ready for a screenshot
setPreviewReady() {
this.metaService.updateTag({ property: 'og:ready', content: 'ready'});
}
}