public static function getLatestVideosByCourseIds($courseIds) { return \app\models\Video::findAll(['course_id' => $courseIds]); }