Issue #2552349 by LittleRedHen: Fixed JavaScript error "TypeError: Drupal.settings.media.formatFormFormats is null" due to media_wysiwyg_format_form does not use the correct variable for the view mode previews.