getting different video ids youtube
code.google.com's api for php

I have used this function : function printVideoEntry($videoEntry)
and got 

Video ID: XXXXXXXXXXXXXXXXXXXXXXXXXX<br>
Watch page: http://www.youtube.com/watch?v=YYYYYYYYYYYYYY&feature=youtube_gdata_player<br>
Flash Player Url: http://www.youtube.com/v/YYYYYYYYYYYYY?version=3&f=playlists&app=youtube_gdata

If I pass given video id it gives me error:
Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Expected response code 200, got 400 Invalid id'

And if I pass YYYYYYYYYYYYYYYYY from Watch page and Flash Player Url [both are same] I m getting it what I need.

Help is much appreciated, Thanks in advance.
getting different video ids youtube
===

code.google.com's api for php

I have used this function : function printVideoEntry($videoEntry)
and got 

Video ID: XXXXXXXXXXXXXXXXXXXXXXXXXX<br>
Watch page: http://www.youtube.com/watch?v=YYYYYYYYYYYYYY&feature=youtube_gdata_player<br>
Flash Player Url: http://www.youtube.com/v/YYYYYYYYYYYYY?version=3&f=playlists&app=youtube_gdata

If I pass given video id it gives me error:
Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Expected response code 200, got 400 Invalid id'

And if I pass YYYYYYYYYYYYYYYYY from Watch page and Flash Player Url [both are same] I m getting it what I need.

Help is much appreciated, Thanks in advance.