aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/video-watch.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-07 16:29:30 +0200
committerChocobozzz <me@florianbigard.com>2020-08-10 09:43:44 +0200
commit82f443de1aba70ce75c72a4a7f669385600ab3c6 (patch)
tree198ab1db910b44ad9844c3365d0ec2dec7325778 /client/src/app/+videos/+video-watch/video-watch.component.ts
parent10846ef656585ee857ec43fc22b490409ddd0d44 (diff)
downloadPeerTube-82f443de1aba70ce75c72a4a7f669385600ab3c6.tar.gz
PeerTube-82f443de1aba70ce75c72a4a7f669385600ab3c6.tar.zst
PeerTube-82f443de1aba70ce75c72a4a7f669385600ab3c6.zip
Add buttons in playlist page
To delete/edit/share the playlist
Diffstat (limited to 'client/src/app/+videos/+video-watch/video-watch.component.ts')
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts
index 33f998282..a53af210a 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -8,12 +8,14 @@ import { AuthService, AuthUser, ConfirmService, MarkdownService, Notifier, RestE
8import { HooksService } from '@app/core/plugins/hooks.service' 8import { HooksService } from '@app/core/plugins/hooks.service'
9import { RedirectService } from '@app/core/routing/redirect.service' 9import { RedirectService } from '@app/core/routing/redirect.service'
10import { isXPercentInViewport, scrollToTop } from '@app/helpers' 10import { isXPercentInViewport, scrollToTop } from '@app/helpers'
11import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage'
12import { Video, VideoCaptionService, VideoDetails, VideoService } from '@app/shared/shared-main' 11import { Video, VideoCaptionService, VideoDetails, VideoService } from '@app/shared/shared-main'
12import { VideoShareComponent } from '@app/shared/shared-share-modal'
13import { SubscribeButtonComponent } from '@app/shared/shared-user-subscription' 13import { SubscribeButtonComponent } from '@app/shared/shared-user-subscription'
14import { VideoDownloadComponent } from '@app/shared/shared-video-miniature'
14import { VideoPlaylist, VideoPlaylistService } from '@app/shared/shared-video-playlist' 15import { VideoPlaylist, VideoPlaylistService } from '@app/shared/shared-video-playlist'
15import { MetaService } from '@ngx-meta/core' 16import { MetaService } from '@ngx-meta/core'
16import { I18n } from '@ngx-translate/i18n-polyfill' 17import { I18n } from '@ngx-translate/i18n-polyfill'
18import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage'
17import { ServerConfig, UserVideoRateType, VideoCaption, VideoPrivacy, VideoState } from '@shared/models' 19import { ServerConfig, UserVideoRateType, VideoCaption, VideoPrivacy, VideoState } from '@shared/models'
18import { getStoredP2PEnabled, getStoredTheater } from '../../../assets/player/peertube-player-local-storage' 20import { getStoredP2PEnabled, getStoredTheater } from '../../../assets/player/peertube-player-local-storage'
19import { 21import {
@@ -26,10 +28,8 @@ import {
26} from '../../../assets/player/peertube-player-manager' 28} from '../../../assets/player/peertube-player-manager'
27import { isWebRTCDisabled, timeToInt } from '../../../assets/player/utils' 29import { isWebRTCDisabled, timeToInt } from '../../../assets/player/utils'
28import { environment } from '../../../environments/environment' 30import { environment } from '../../../environments/environment'
29import { VideoShareComponent } from './modal/video-share.component'
30import { VideoSupportComponent } from './modal/video-support.component' 31import { VideoSupportComponent } from './modal/video-support.component'
31import { VideoWatchPlaylistComponent } from './video-watch-playlist.component' 32import { VideoWatchPlaylistComponent } from './video-watch-playlist.component'
32import { VideoDownloadComponent } from '@app/shared/shared-video-miniature'
33 33
34@Component({ 34@Component({
35 selector: 'my-video-watch', 35 selector: 'my-video-watch',