Forums

  1. meetwp
    Member
    Posted 11 months ago #

    Hello,
    I can't find any options that would allow videos to be centered.

    Thank you

    http://wordpress.org/extend/plugins/videojs-html5-video-player-for-wordpress/

  2. Dustin Lammiman
    Member
    Plugin Author

    Posted 8 months ago #

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

  3. Dirk S
    Member
    Posted 2 months ago #

    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.

  4. Dirk S
    Member
    Posted 2 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.