Add Custom Javascript to Youtube Gallery Widget

Is there a way to add custom javascript similar to custom CSS? I know there is a way to add custom CSS, but not custom JS.

2 Likes

Hi there and welcome aboard, @user1525 :waving_hand:

Unfortunately, the Custom JS field isn’t available in our YouTube Gallery app. However, if you need help with the widget customization, please share your use case with us. We’ll gladly help you with it :slightly_smiling_face:

1 Like

Thanks for your response. I want to disable the “More Videos” option when you pause the YouTube video or when the video ends. Is there a way to do that within the YouTube Gallery app settings?

2 Likes

I am not sure if it’s feasible, but I’ll discuss it with the devs and update you on Monday :slightly_smiling_face:

1 Like

A post was split to a new topic: What are selectors for Play and Pause button in YouTube Gallery

Hi there, @user1525 :waving_hand:

Unfortunately, there is no way to remove the block with the recommended videos, since it’s a part of the YouTube iframe.

I hope this explains things.

If you have any questions left, we’ll be happy to help :slightly_smiling_face:

1 Like