WordPress.org

Support

Support » Plugins and Hacks » Viper's Video Quicktags » [Resolved] [Plugin: Viper's Video Quicktags] Conflicting with Simple Flash Video plugin – [video] tag

[Resolved] [Plugin: Viper's Video Quicktags] Conflicting with Simple Flash Video plugin – [video] tag

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alex Mills (Viper007Bond)

    @viper007bond

    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.

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

    Take care,
    Owen

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Viper's Video Quicktags] Conflicting with Simple Flash Video plugin – [video] tag’ is closed to new replies.
Skip to toolbar