If you push the "Add media" button in full screen mode, nothing seems to happen ...
After toggling "full screen mode" back to inline (normal) editing mode, the overlay screen for inserting a media appears...

Drupal: 7.22
Media: 7.x-1.3
Wysiwyg: 7.x-2.2
TinyMCE: 3.5.8

Comments

chrisrcooper’s picture

Component: WYSIWYG integration » Code
Issue summary: View changes

This is a problem when using CKEditor as well. Even with latest versions:

Media: 7.x-2.0 beta 1 or 7.x-2.0-dev
CKEditor: 7.x-1.16 or 7.x-1.0-dev

Adding the new Media WYSIWYG bridge has no impact on this issue.

The problem is that the dialog for the media library popup has no z-index while the an element higher in the DOM has one of 9995. Setting the dialog for the media-wrapper div that's inserted when clicking "Add Media" (or any of the other popups that aren't showing up which are ui-dialogs) to a z-index of 9995 solves this.

I believe this old issue is the same:
https://www.drupal.org/node/1779984

chrisrcooper’s picture

Version: 7.x-1.3 » 7.x-2.0-beta1
Component: Code » Media Browser
azzida’s picture

Version: 7.x-2.0-beta1 » 7.x-2.0-beta5

This is still an issue with 7.x-2.0-beta5. We are using CKEditor 7.x-1.17.
If anyone had any success with resolving this, I'd love to hear from you :) I've tried modifying the z-index in the jspopup script included in Media (just to test, of course) and saw no difference in behaviour.

steinmb’s picture

Title: Media insert did not work in “full screen mode” » Adding media fail with WYSIWYG editor in full screen mode
Version: 7.x-2.0-beta5 » 7.x-2.x-dev
Related issues: +#1779984: jquery-ui popups hidden if ckeditor in fullscreen

Instead of chasing beta. Let us keep this on dev. Can you confirme that it also break there? What other modules are in use. Let us know if jQuery update is in use, if so, what version of jQuery is in use.

azzida’s picture

I can confirm we are using:
jQuery Update v2.7

We have a rather light-weight architecture, nothing but the most mandatory of modules added. If there's any in particular I should be looking for, let me know.

I grabbed Media 7.x-2.x-dev (shows up as 7.x-2.0-beta7+1-dev, which matches what is in the .info file)

Confirmed this is still an issue, you click the Media embed button, and it appears behind the fullscreen CKEditor window.

joseph.olstad’s picture

you're using jQuery Update 2.7 , however what version of jQuery are you specifying for your theme?

If you're using jQuery 1.10 you may want to try the patch #2 in this issue:
#2815703: jQuery.extend object array merge problem

chris matthews’s picture

Status: Active » Closed (outdated)

Recent versions of media have resolved most of peoples concerns and is compatible with entity translation, multilingual and various advanced configurations. Due to the high volume of inactive and most often irrelevant issues we are Closing this as (outdated). If for whatever reason this issue is important to you AND you still have issues after checking the media recipe documentation, then let us know and we will review your concerns.

Otherwise, see the recipe documentation for how to configure media and for troubleshooting tips OR refer to the media_dev distribution if you want to see a working media setup.

As mentioned, feel free to make some noise in this issue if you still feel it is important to you or someone else.

Thanks,

Media team