Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for private videos throwing js errors. Bumped version to 2.1.1. Tested with jQuery 1.9 and 2.0. #4

Merged
merged 1 commit into from May 16, 2013

Conversation

fleeting
Copy link
Collaborator

I had a problem with getting a playlist and one of the videos being private which means it was missing a few fields. Added a quick if(typeof this.app$control == "undefined") since app:control is only present if a video is private, unavailable, restricted by location, or otherwise failed to upload. Source https://developers.google.com/youtube/2.0/reference#youtube_data_api_tag_app:control

It has also been tested with jQuery 1.9 and 2.0 with no problems.

Checking against app:control which is only present if a video is unavailable, restricted, or otherwise failed to upload. Bumping version to 2.1.1.
defvayne23 added a commit that referenced this pull request May 16, 2013
Fix for private videos throwing js errors. Bumped version to 2.1.1. Tested with jQuery 1.9 and 2.0.
@defvayne23 defvayne23 merged commit 7f60ceb into defvayne23:master May 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants