subtitle: string
loop: boolean
+ originUrl: boolean
autoplay: boolean
muted: boolean
title: boolean
subtitle,
loop: false,
+ originUrl: false,
autoplay: false,
muted: false,
}
getVideoUrl () {
- const baseUrl = window.location.origin + '/videos/watch/' + this.video.uuid
+ let baseUrl = this.customizations.originUrl ? this.video.originInstanceUrl : window.location.origin
+ baseUrl += '/videos/watch/' + this.video.uuid
const options = this.getVideoOptions(baseUrl)
return buildVideoLink(options)
return this.activeVideoId === 'embed'
}
+ isLocalVideo () {
+ return this.video.isLocal
+ }
+
private getPlaylistOptions (baseUrl?: string) {
return {
baseUrl,