if ($video_ended == true) { $sleduyuscheye_video = $vse_video[rand(0, count($vse_video) - 1)]; play($sleduyuscheye_video); }