How to change to local video player on shortcode ultimate to video.js?

I have Shortcodes Ultimate plugin, and I would like to change this plugin video player to Video.js player.
That’s becouse, the original player is very afful, and instabil, and you can’t control volume, can’t replay the video,so this player very insufficient.
I can’t use the original wordpress player,becouse the plugin use the same short code as the wordpress short code and this do a little conflict.
Example for the plugin shortcode:


I can’t delete this plugin,becouse I use some usefull function in here.
So the bestway be if I can change the video player to Video.js player.

Related posts

1 comment

  1. You can try to re-register the default WordPress [video] shortcode:

    /**
     * Re-Register the default [video] shortcode
     * WPSE: 120057
     */
    function wpse_120057()
    {
        add_shortcode( 'video', 'wp_video_shortcode' );
    }
    add_action( 'plugins_loaded', 'wpse_120057' );
    

    Here is the file in the Shortcodes Ultimate plugin that contains the [video] shortcode registration.

Comments are closed.