if (preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/\s]{11})%i', $url, $match)) {
return $match[1];
}
For further actions, you may consider blocking this person and/or reporting abuse
if (preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/\s]{11})%i', $url, $match)) {
return $match[1];
}
For further actions, you may consider blocking this person and/or reporting abuse
Navneet Verma -
Saloni Agarwal -
Navneet Verma -
Antonio Silva -
Top comments (0)