Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get youtube code

preg_match("/^(?:http(?:s)?://)?(?:www.)?(?:m.)?(?:youtu.be/|youtube.com/(?:(?:watch)??(?:.*&)?v(?:i)?=|(?:embed|v|vi|user|shorts)/))([^?&"'>]+)/", $url, $matches);
Source by # #
 
PREVIOUS NEXT
Tagged: #php #youtube #code
ADD COMMENT
Topic
Name
5+9 =