Add user history and resume videos
[oweals/peertube.git] / client / src / app / shared / video / video.service.ts
index 2255a18a22e0a860455d528be05eba51c2743949..724a0bde94505cb10140b27921d13ac9d4ebad9f 100644 (file)
@@ -58,6 +58,10 @@ export class VideoService implements VideosProvider {
     return VideoService.BASE_VIDEO_URL + uuid + '/views'
   }
 
+  getUserWatchingVideoUrl (uuid: string) {
+    return VideoService.BASE_VIDEO_URL + uuid + '/watching'
+  }
+
   getVideo (uuid: string): Observable<VideoDetails> {
     return this.serverService.localeObservable
                .pipe(