Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dustin Lammiman

    (@nosecreek)

    Try adding class=”aligncenter” to your shortcode. Or class=”centervideo” and in your css file: .centervideo { margin: 0 auto }

    Hi Dustin,
    tried that, however – before the div video wrapper is another div:
    <div style="max-width:640px;>"

    I think I need to be able to add centering here. With adding aligncenter to my shortcode, I only center the video in the left aligned wrapper.

    OK. I did a workaround by adding a class to the responsive video div wrapper mentioned. But I needed to make the change directly in video-js.php … maybe you can add a class to it in a next release? So everyone can style positioning when using responsive settings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: VideoJS – HTML5 Video Player for WordPress] Center video’ is closed to new replies.