oembed – How do I set up the front-end editor to automatically include media for unregistered users?

I have a number of topics that allow website visitors to contribute content as posts (which they enter as drafts) from a front-end editor. I've used a technique to invisibly register them as author users to access Media Uploader and use a plugin to prevent access to the dashboard.

I'm trying to update without signing in, and I have a working version that uses dropzone.js to upload to the media library

My limit now is that I had found that by queuing up in my previous versions mce-views that the frontend editor would render previews in the editor content, WordPress can automatically integrate. But without being logged in, I no longer get automatic members only when logged in. I compared the loaded scripts and found only 3 that were loaded when I logged in without being logged in. The queuing made no difference.

The editor is inserted into a form via:

'wText', 'editor_height' => '400' ); wp_editor( stripslashes( $wText ), 'wtext', $settings ); ?>

The value of $wText is loaded when the form has been sent (for example, if a validation error occurred during the first pass).

My form is used on a single page, so my feature is included in the action wp_enqueue_scripts Loads these scripts only for this page:

if ( is_page( truwriter_get_write_page() ) ) { // use on just our form page

    // Build in tag auto complete script
    wp_enqueue_script( 'suggest' );

    //dropzone.js for file uploads
    wp_enqueue_script( 'dropzone', get_stylesheet_directory_uri() . '/js/dropzone.js', '', '5.5', true );
    wp_enqueue_style( 'dropzone-style', get_stylesheet_directory_uri() . '/js/css/dropzone.css' );

    // Autoembed functionality in rich text editor
    // needs dependency on tiny_mce
    // h/t https://wordpress.stackexchange.com/a/287623

    wp_enqueue_script( 'mce-view', '', array('tiny_mce'), '', true );   

    // custom jquery for the uploader on the form
    wp_register_script( 'jquery.writer' , get_stylesheet_directory_uri() . '/js/jquery.writer.js', array( 'suggest', 'dropzone') , '1.9', TRUE );

    // add a local variables for the site's home url, ajax address, and maximum upload size
    wp_localize_script(
      'jquery.writer',
      'writerObject',
      array(
        'siteUrl' => esc_url(home_url()),
        'ajaxUrl' => admin_url('admin-ajax.php'),
        'uploadMax' => round(wp_max_upload_size() / 1000000)
      )
    );

    wp_enqueue_script( 'jquery.writer' );
}

If you view the sequence in the Chrome Inspector and you are logged in and the auto-mount feature works, you will be called admin_ajax.php – Of course, this will fail if I'm not logged in, and this is my best guess why it does not work.

The value for ajaxUrl passed to the js script to enable the autocomplete ability tags, and no surprise, it does not work when logged in.

jQuery('#wTags').suggest( writerObject.ajaxUrl + "?action=ajax-tag-search&tax=post_tag", {multiple:true, multipleSep: ","});

I know from research that I need to set up an action to allow Ajax calls wp_ajax_nopriv_{action} (In fact, I'm doing this for the dropzone.js integration because I've written the functions called back by ajax.

But I have no idea which callbacks have to be granted wp_ajax_nopriv_{action} These are not my features, but from the internal wordpress code for oembed and the auto-tag suggestion.

So it is (a) even possible to enable automatic embedding of media in a front-end editor without login and / or (b) how I grant access admin-ajax.php If there is no login?