i have a url form input where users cann add youtube videos.
if users try to add this url i need to echo a validation error
"https://youtube.com/channelname"
echo a validation error too on this example
"https://otherdomain.com"
i need to allow only values thats contain youtube video urls like this
"https://www.youtube.com/watch?v="
But users needs to type the fully youtube url ... not only the video id
if users try to add this url i need to echo a validation error
"https://youtube.com/channelname"
echo a validation error too on this example
"https://otherdomain.com"
i need to allow only values thats contain youtube video urls like this
"https://www.youtube.com/watch?v="
But users needs to type the fully youtube url ... not only the video id