Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nialcen

    (@nialcen)

    I’ve tried to add :

    add_filter( 'mce_buttons', array( $this, 'filter_mce_button' ) );
    			add_filter( 'mce_external_plugins', array( $this, 'filter_mce_plugin' ) );

    in

    public function __construct() {

    The button is displayed (with broken image, but this is not the most important thing), on clik the TB_Overlay is displayed, but empty.

    Plugin Author Nico

    (@nico23)

    I don’t know that plugin and I have no idea how to do this.

    That the Icon is not leading is probably because the path to the image in mce-plugin.js is relative and only valid on admin.

    image : '../wp-content/plugins/advanced-responsive-video-embedder/admin/assets/img/tinymce-icon.png'

    That the dialog is not loading probably has to do with the fact that it’s loaded with AJAX on admin. You or somebody else might figure our how to to that on fronted but not me sorry.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding AR Video Embeder Button on Frontend’ is closed to new replies.