return this.videoChannel.url
}
+ get rssUri () {
+ const rssFeed = this.videoService
+ .getVideoChannelFeedUrls(this.videoChannel.id)
+ .find(i => i.format === FeedFormat.RSS)
+
+ return rssFeed.url
+ }
+
ngOnInit () {
if (this.isUserLoggedIn()) {
this.userSubscriptionService.doesSubscriptionExist(this.channelHandle)
this.subscribed = true
this.notifier.success(
- this.i18n('Subscribed to {{nameWithHost}}', { nameWithHost: this.videoChannel.displayName }),
+ this.i18n('Subscribed to {{nameWithHost}}. You will be notified of all their new videos.',
+ { nameWithHost: this.videoChannel.displayName }
+ ),
this.i18n('Subscribed')
)
},
gotoLogin () {
this.router.navigate([ '/login' ])
}
-
- rssOpen () {
- const rssFeed = this.videoService
- .getVideoChannelFeedUrls(this.videoChannel.id)
- .find(i => i.format === FeedFormat.RSS)
-
- window.open(rssFeed.url)
- }
}