method to check valid links of videos