Closed (fixed)
Project:
YouTube Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2015 at 03:11 UTC
Updated:
13 Aug 2015 at 16:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
guschilds commentedmstrelan, That's a great idea. Any chance you could supply a patch for this? Thanks!
Comment #2
guschilds commentedI've attached a patch that does just that. It uses 3 hooks to allow modules (like youtube_colorbox) to:
hook_youtube_thumbnail_link_types_alter())hook_youtube_thumbnail_field_formatter_settings_alter())hook_youtube_thumbnail_link_uri_alter())I've added documentation for these hooks in an api.php file and altered the youtube_colorbox module to use these hooks. That module continues to function just the same.
Would appreciate any reviews of this work! Should help anyone hoping to link thumbnails to anything else, including other modal window libraries.
Comment #4
guschilds commentedThe patch from #2 was committed to the 7.x-1.x branch and will be a part of the future 7.x-1.7 release. Thanks again for the suggestion.