Hi Sindy,
I'd like to announce a bug in md_slider under nginx web-server.
We are using nginx reverse proxy servers for many drupal sites developing, but md_slider not working under default nginx config.
There have been default enabled an iframe protection in nginx.conf, and the md_slider not loaded the media browser functions.
You can see the error in the browser development Console:
Refused to display 'http://domain.tld/media/browser?render=media-popup&types=&activePlugins=...' in a frame because it set 'X-Frame-Options' to 'DENY'.
media.popups.js?v=7.x-2.0-beta1:98 Uncaught SecurityError: Sandbox access violation: Blocked a frame at "http://domain.tld" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag."
---
Error solved after I reconfigured the nginx vhost.
See on page: http://geekflare.com/add-x-frame-options-nginx/
#add_header X-Frame-Options DENY;
---
MD_Slider
version = "7.x-2.19"
core = "7.x"
--
Best Regards,
iszabi
Hi,
Thank you very much for your feedback and for your patience
We have just been back from our Holiday
Our MD Slider requires modulehttps://www.drupal.org/project/media.
This module uses Iframe to add image, media. If you do not add parameter in nginx.conf under server section, all fields using media will also have error, not only our MD Slider