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.

CommentFileSizeAuthor
#3 youtube_custom_play_icon_2806637-3.diff2.53 KBm.attar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

attar_eweev created an issue. See original summary.

m.attar’s picture

Title: Youtube add custom play icon and Background overlay » Youtube add custom play icon and Overlay background
Issue summary: View changes
m.attar’s picture

guschilds’s picture

Status: Active » Needs work

Hi 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?

guschilds’s picture

Status: Needs work » Closed (won't fix)