Postponed (maintainer needs more info)
Project:
Video Filter
Version:
7.x-3.0
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2012 at 12:58 UTC
Updated:
4 May 2017 at 15:16 UTC
Jump to comment: Most recent
Comments
Comment #1
ddaniel.gomez commentedHello.
I´m interested to solve this too. I think it's a capability reasonable for improve the module.
Hope somebody tell us how to take defaults and hide this fields (maybe programatically?).
Thanks in advance.
Comment #2
ddaniel.gomez commentedWell, finally I modified "video_filter_field.module" in order to hide these fields, but with content. I turn to "hidden" these type fields and assign my value. Hope you find this useful. It´s not for video_filter, it´s video_filter_field.
Regards,
Comment #3
extexan commentedA HUGE +1 on this one. After installing and enabling this module, then setting defaults for those fields, I was surprised when they showed in the popup for embedding the video. I don't want my (inexperienced) users setting height/width and possibly breaking my theme. And I certainly don't want anyone to be able to set autoplay (something I absolutely loathe in other sites and refuse to allow in my sites).
And, since this topic already has references to hiding those fields, I'll add this here as well...
I tried using the themekey module to ensure that the popup window would be using my site's theme so that I could then use CSS to hide the fields in question. But no matter what I did, the popup always used my admin theme. Why is that? And how to fix it?
[Setting status to "MAJOR", because I think this is a MAJOR issue. The only work-around cited above is to hack the code - which is a Drupal no-no.]
Comment #4
minnur commentedGreat suggestion! Please provide patches. I will look more into this for 8.x-1.x version and also I am willing to review and apply patches you provide for D7 version.
Please update this issue if you think this is still important for your projects.
Thanks!
Comment #5
fdverwoerd commentedWhat about using the 'Limited html filter' to change the appropriate options depending on what's configured?
<iframe src height width allowfullscreen frameborder scrolling>