initService method
dynamic
initService()
Implementation
initService() async {
await addVideosController();
int myindex = 0;
if (!videoPlayerControllerList[myindex].value.isInitialized) {
cacheVideo(myindex);
await videoPlayerControllerList[myindex].initialize();
increasePage(myindex + 1);
}
animationController.repeat();
videoPlayerControllerList[myindex].play();
refreshView();
// listenEvents(myindex);
await initNearByVideos(0);
loading.value = false;
}