I want users on my site to be able to embed videos, but without them being able to override the default video size.

Is there a way to disable this?

I believe it'd be a nice feature to have if not possible currently.

Comments

blackdog’s picture

Sure, that can be done. Needs a setting and changes to the help texts.

eclauset’s picture

Conversely, it would be useful to be able to force the use of an override value, regardless of what the user specifies.

Manuel Garcia’s picture

Title: Disable override default width and height function? » Ability to "lock" default settings.
Version: 6.x-2.x-dev » 6.x-3.x-dev

I totally second this feature request. Further more, if we could also lock the auto-play option it'd be even better, let me change the title of the request to something more general.

The way I see it it should:

  • Provide a checkbox for the default settings, allowing you to "lock" the specific setting.
  • Remove the locked settings from the form provided to the wysiwyg.

On the technical side, besides making the obvious, I'm not sure how it would affect the execution of the filter itself.

Let's hear opinions, what do you think?

AntiNSA’s picture

I need this....

Andre-B’s picture

Issue summary: View changes

any news on this? 7.x?

minnur’s picture

Version: 6.x-3.x-dev » 8.x-1.x-dev
Assigned: Unassigned » minnur
Status: Active » Needs review
minnur’s picture

Assigned: minnur » Unassigned
Status: Needs review » Postponed

This can get a little messy in D7. Because we have to find a way to pass filter id to the plugin editor form. In D8 you may use form_alter to hide/show elements and set default values if needed.

DamienMcKenna’s picture

Status: Postponed » Active