Title: [Plugin: WordPress Video Plugin] Use the proper shortcode API
Last modified: August 19, 2016

---

# [Plugin: WordPress Video Plugin] Use the proper shortcode API

 *  [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * (@joostdevalk)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-video-plugin-use-the-proper-shortcode-api/)
 * Hi there,
 * I’ve just spent more than an hour debugging a very stupid issue for a user of
   my [Slideshare plugin](http://wordpress.org/extend/plugins/slideshare/). Your
   WordPress Video Plugin doesn’t use the internal [Shortcode API](http://codex.wordpress.org/Shortcode_API),
   but instead uses tons of it’s own defines and regexps.
 * It shows you can code quite well, but it is not exactly the way these things 
   are supposed to be done within a WordPress plugin. I’ve “fixed” it by doing the
   following:
 *     ```
       // Make sure [slideshare] shortcodes are executed by the correct plugin, by giving the WordPress video plugin an erroneous regexp.
       define("SS_REGEXP", "/\[ss (<a href="http://codex.wordpress.org/:print:">:print:</a>+)\]/");
       ```
   
 * But… It’d be nice if you actually used the ShortCode API so I could overwrite
   your slideshare shortcode with my own…
 * Thanks for considering it!
 * Cheers,
    [Joost de Valk](http://yoast.com)
 * [http://wordpress.org/extend/plugins/wordpress-video-plugin/](http://wordpress.org/extend/plugins/wordpress-video-plugin/)

The topic ‘[Plugin: WordPress Video Plugin] Use the proper shortcode API’ is closed
to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-video-plugin-use-the-proper-shortcode-api/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
