Support » Plugin: WP Video Enhanced » class name conflict

  • Resolved huemanfoo

    (@huemanfoo)


    Hi, when I embed videos using the wp_video_shortcode and add a ‘class’ attribute, the plugin stops working, logo disappears, no right click copyright.
    Any ideas?

    // Video Attributes:
    $attr = array( ‘src’ => $video, ‘class’ => ‘videos’,

    Thanks, great plugin 😉 );

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author plugins360

    (@plugins360)

    Thanks for using our plugin.

    “WP Video Enhanced” features work only when WordPress’ default MediaElementJS library is used to render the player. Your class name setting “videos” stop the Video Shortcode from using the MediaElementjs library. The solution is to use the $attr like,

    $attr = array( ‘src’ => $video, ‘class’ => ‘videos wp-video-shortcode’,

    ah of course, thanks 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘class name conflict’ is closed to new replies.