Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module Youtube doesn't have the option that allows the user to add custom play icon, so I added a patch that add two options in formatter view settings for field Youtube that enable the user to add custom play icon and overlay background.
Comment | File | Size | Author |
---|---|---|---|
#3 | youtube_custom_play_icon_2806637-3.diff | 2.53 KB | m.attar |
Comments
Comment #2
m.attar CreditAttribution: m.attar commentedComment #3
m.attar CreditAttribution: m.attar commentedComment #4
guschilds CreditAttribution: guschilds at Chromatic commentedHi attar_eweev, Thanks for the patch. I have not applied it, but when looking at the code, I don't see what it would do. It provides 2 new formatter settings whose values are then passed to the theme hook, but that's it.
theme_youtube_video()
doesn't do anything with their values to affect the resulting markup in any way. Is the patch missing some code?Comment #5
guschilds CreditAttribution: guschilds at Chromatic commented