~[^0-9.]+~
function chekVideo($video)
{
global $playList;
for ($i = 0; $i < count($playList); $i++) {
$playListItem = $playList[$i];
if ($playListItem !== $video) {
if ($i + 1 == count($playList)) {
array_push($playList, $video);
}
}
}
}