WordPress.org

Ready to get started?Download WordPress

Forums

Viper's Video Quicktags
[resolved] Conflicting with Simple Flash Video plugin - [video] tag (3 posts)

  1. osmithy
    Member
    Posted 3 years ago #

    After peacefully coexisting for months, there is now a conflict with Viper's Video Quicktags and the Simple Flash Video plugin. Both plugins interpret the [video] tag, but Viper's seems to be the winner, resulting in an error when the tag is formatted for SFV. I'm a little confused because when embedding a YouTube video with Viper's, the tag is [youtube], not [video], whereas for SFV, everything begins with [video]. Since I don't need Viper's to use [video] because I can just use [youtube], is there a way to make it stop interpreting the [video] tag so that SFV can use it?

    Many thanks for a great plugin.

    Cheers,
    Owen

  2. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    Yeesh, that's a poorly coded plugin.

    Try adding this to your theme's functions.php file:

    add_action( 'init', 'remove_vvq_video_shortcode', 11 );
    
    function remove_vvq_video_shortcode() {
    	remove_shortcode( 'video' );
    }

    Since the other plugin doesn't actually use real shortcodes (it uses fake shortcodes), the above code will prevent my plugin from taking care of it and let the other plugin find the shortcode.

  3. osmithy
    Member
    Posted 3 years ago #

    Success!! Thank you so much for the quick and effective reply.

    Take care,
    Owen

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic