March 2012



How to check that a Youtube URL is valid

When validating a Youtube video link, start by parsing the video ID from the URL. The URL has many valid formats, so be sure to choose a regexp that accommodates them all. You can then check if the video exists by looking it up from Youtube’s public API. One thing to note is that the API won’t find the video until it’s been indexed, which can take up to a day.

Ilya

  • Home
  • About
  • Preferences


RSS

March 2012

Mon

Tue

Wed

Thu

Fri

Sat

Sun

 

 

 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

Feb   Apr

Beared souls

caught together