Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'd like to disable all providers except YouTube, in order to give our site visitors a consistent experience and so we only have to maintain one video channel. Please add an admin UI to accomplish this.
In the meantime, is there code I can add to my custom module that will override Video Embed Field's list of supported providers?
Comments
Comment #1
plopescThat feature is already available in last beta10 version.
To select the desired available providers, you only need to go to the field configuration page.
This is a duplicate of #2396205: Setting: Disable Vimeo/Youtube
Regards.
Comment #2
Charles BelovActually, I would like to see this feature on a site-wide basis. Doing it field instance by field instance is a maintenance challenge to ensure consistency between different instances of the field.
Comment #3
plopescHello,
I think it's better to have the granularity to enable it field by field.
If you want something more "hard", you can use hooks provided by this module to disable them programmatically.
Regards,