-import { getAbsoluteAPIUrl } from '@app/helpers'
+import { getAbsoluteAPIUrl, getAbsoluteEmbedUrl } from '@app/helpers'
import { Actor } from '@app/shared/shared-main'
+import { peertubeTranslate } from '@shared/core-utils/i18n'
import {
AccountSummary,
- peertubeTranslate,
VideoChannelSummary,
VideoConstant,
VideoPlaylist as ServerVideoPlaylist,
thumbnailUrl: string
+ embedPath: string
+ embedUrl: string
+
ownerBy: string
ownerAvatarUrl: string
this.thumbnailUrl = window.location.origin + '/client/assets/images/default-playlist.jpg'
}
+ this.embedPath = hash.embedPath
+ this.embedUrl = getAbsoluteEmbedUrl() + hash.embedPath
+
this.videosLength = hash.videosLength
this.type = hash.type