1

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:

[video url="http://www.neocsatblog.mblx.hu/wp-content/uploads/2013/10/Cas-és-a-sex.mp4" poster="http://www.neocsatblog.mblx.hu/wp-content/uploads/2013/10/not-bad.png" title="Castiel találkozása a szex-el"]

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.

1 Answer 1

0

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.

5
  • Okey but,may be better if i can use video.js,thats becouse,this is a best player witch I ever see. Oct 25, 2013 at 14:33
  • Have you tried to install the video.js plugin and use [videojs] ?
    – birgire
    Oct 25, 2013 at 14:49
  • No,but thanks, I try it now,give me a second. Oct 25, 2013 at 14:51
  • Yeah,this work fine thanks! Any idea how to add cc function for this? Oct 25, 2013 at 14:57
  • ok great (please mark the question as solved)
    – birgire
    Oct 25, 2013 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.