aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-custom-markup/peertube-custom-tags/embed-markup.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-custom-markup/peertube-custom-tags/embed-markup.component.ts')
-rw-r--r--client/src/app/shared/shared-custom-markup/peertube-custom-tags/embed-markup.component.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-custom-markup/peertube-custom-tags/embed-markup.component.ts b/client/src/app/shared/shared-custom-markup/peertube-custom-tags/embed-markup.component.ts
index a854d89f6..4462903db 100644
--- a/client/src/app/shared/shared-custom-markup/peertube-custom-tags/embed-markup.component.ts
+++ b/client/src/app/shared/shared-custom-markup/peertube-custom-tags/embed-markup.component.ts
@@ -1,15 +1,18 @@
1import { buildPlaylistLink, buildVideoLink, buildVideoOrPlaylistEmbed } from 'src/assets/player/utils' 1import { buildPlaylistLink, buildVideoLink, buildVideoOrPlaylistEmbed } from 'src/assets/player/utils'
2import { environment } from 'src/environments/environment' 2import { environment } from 'src/environments/environment'
3import { Component, ElementRef, Input, OnInit } from '@angular/core' 3import { Component, ElementRef, Input, OnInit } from '@angular/core'
4import { CustomMarkupComponent } from './shared'
4 5
5@Component({ 6@Component({
6 selector: 'my-embed-markup', 7 selector: 'my-embed-markup',
7 template: '' 8 template: ''
8}) 9})
9export class EmbedMarkupComponent implements OnInit { 10export class EmbedMarkupComponent implements CustomMarkupComponent, OnInit {
10 @Input() uuid: string 11 @Input() uuid: string
11 @Input() type: 'video' | 'playlist' = 'video' 12 @Input() type: 'video' | 'playlist' = 'video'
12 13
14 loaded: undefined
15
13 constructor (private el: ElementRef) { } 16 constructor (private el: ElementRef) { }
14 17
15 ngOnInit () { 18 ngOnInit () {