CardinalPath / gas

Google Analytics on Steroids. A Google Analytics implementation with more power features.
Other
593 stars 78 forks source link

Fetch YouTube video_id directly after API update #29

Closed dbarlett closed 12 years ago

dbarlett commented 12 years ago

Google has removed getVideoData from the YouTube API. This commit fetches it from the object directly. Parsing it from getVideoUrl() may be a more stable long-term option.

eduardocereto commented 12 years ago

I'm not sure using an undocumented api function to fix a bug introduced because I used an undocumented function is a good idea here. Specially because 'd' is probably a minified variable that could change on the next release.

dbarlett commented 12 years ago

Good point. I'll fetch it another way.