If you just want to do a quick sanity check, this regex basically
covers the format:
If you actually need to see if the video is live and available, you
It will return HTTP status 200 if it's live and available, 404
On Dec 17, 4:28 am, Gaurav <Cont...@gmail.com> wrote:
I want to save the Video URL that a user uploads on YouTube.
Each time a user enters a YouTube Video Url or Video Id and saves it,
I want to validate the Url/Id before saving so that no user can enter
the invalid Url/Id .
If anyone having an idea for this please let me know.