Skip to content

Commit

Permalink
added another comment to clarify some code
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Manganelli authored and Simone Manganelli committed Jul 21, 2009
1 parent 25e0219 commit 57930e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Plugin/Plugin.m
Expand Up @@ -756,6 +756,11 @@ - (NSString*) badgeLabelText
if( [ self _useH264Version ] && [self _hasH264Version])
return NSLocalizedString( @"H.264", @"H.264 badge text" );
else if( _fromYouTube && _videoId)
// we check the video ID too because if it's a flash ad on YouTube.com,
// we don't want to identify it as an actual YouTube video -- but if
// the flash object actually has a video ID parameter, it means its
// a bona fide YouTube video

return NSLocalizedString( @"YouTube", @"YouTube badge text" );
else if( _badgeText )
return _badgeText;
Expand Down

0 comments on commit 57930e9

Please sign in to comment.