+ reportVideo(id: string, reason: string) {
+ const body = {
+ reason
+ };
+ const url = VideoService.BASE_VIDEO_URL + id + '/abuse';
+
+ return this.authHttp.post(url, body)
+ .map(this.restExtractor.extractDataBool)
+ .catch((res) => this.restExtractor.handleError(res));
+ }
+