ZF-12461: Zend_Gdata_YouTube_PlaylistVideoEntry::getVideoId() gives wrong id
Description
When using playlists to list videos using Zend_Gdata_YouTube_PlaylistVideoEntry the getVideoId() returns the playlist video id instead of the actual video id.
$playlist = $yt->getPlaylistVideoFeed('https://gdata.youtube.com/feeds/api/…');
foreach ($playlist as $i=>$video) {
echo $video->getVideoId() . ' ' . $video->getVideoTitle() ."\n";
}
This looks like an upstream issue with Zend_Gdata_YouTube_VideoEntry::getVideoId()
Comments
Posted by Rob Allen (rob) on 2012-11-06T19:47:21.000+0000
Are you in a position to sign the CLA and supply a patch?
Posted by Scotepi (scotepi) on 2012-11-06T23:58:53.000+0000
I don't know enough about the internal workings of zend to feel confident in submitting a patch. My workaround right now is to parse getVideoThumbnails() for the video id.
Using the verry buggy YouTube Data API Demo http://gdata.youtube.com/demo/index.html you can put the request URI as /feeds/api/playlists/PLB64B76A0570E8A46 and see the video id's are at .
Posted by Ralph Schindler (ralph) on 2013-04-05T16:07:10.000+0000
This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf1/issues/31