File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ export class AppComponent implements OnInit {
285
285
let listType ;
286
286
let playlistItem ;
287
287
if ( list === 0 ) {
288
- listType = this . feedVideos [ i ] ;
288
+ listType = this . _shared . feedVideos [ i ] ;
289
289
}
290
290
if ( list === 1 ) {
291
291
listType = this . _shared . lastSearchedVideos [ i ] ;
Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ export class CategoryComponent implements OnInit {
85
85
this . feedVideos = res2 [ 'items' ] ;
86
86
this . _shared . feedVideos = res2 [ 'items' ] ;
87
87
88
-
89
88
await this . _shared . initChannel ( ) ;
90
89
this . getChannelTrending ( ) ;
91
90
}
@@ -139,5 +138,19 @@ export class CategoryComponent implements OnInit {
139
138
this . getChannelTrending ( ) ;
140
139
}
141
140
141
+ onClickVideo ( event : Event , i : any , list : number ) {
142
+ if ( list === 3 ) {
143
+ this . _app . getVideo ( this . _shared . feedVideos [ i ] ) ;
144
+ }
145
+ }
146
+
147
+
148
+ onCopyVideoItemLink ( i : number , list : number ) {
149
+ this . _app . onCopyVideoItemLink ( i , list ) ;
150
+ }
151
+
152
+ addPlaylistItem ( i : number , list : number ) {
153
+ this . _app . addPlaylistItem ( i , list ) ;
154
+ }
142
155
143
156
}
You can’t perform that action at this time.
0 commit comments