- if (this.useLazyLoadUrl && this.video.url) {
- const remoteUriConfig = this.serverConfig.search.remoteUri
-
- // Redirect on the external instance if not allowed to fetch remote data
- const externalRedirect = (!this.authService.isLoggedIn() && !remoteUriConfig.anonymous) || !remoteUriConfig.users
- const fromPath = window.location.pathname + window.location.search
+ if (this.videoLinkType === 'internal' || !this.video.url) {
+ this.videoRouterLink = Video.buildWatchUrl(this.video)
+ return
+ }