• Resolved isapoker

    (@isapoker)


    Hi .good job with the plugin i really enjoyed it . but is there any way to set the sizes for width and height?Because i have added some videos and the player appears too big .

Viewing 1 replies (of 1 total)
  • Plugin Author Federico Jacobi

    (@federico_jacobi)

    Hey @isapoker, currently you cannot change the width of the player, it’ll just go 100% the width of its container. If you can modify the width of the container, that could work. I believe this is a better way to keep it default.

    Another thing you can do is add a custom CSS. Go to the wp-admin then Appearance then customize. Towards the bottom you’ll find “Additional CSS” and paste this:

    .video-js.vjs-fluid {
    	width: 200px;
    	height: 100px;
    	padding-top: 0;
    }

    You can adjust the height and width by changing the values there. But keep in mind, this will apply to ALL players!

    I’ll probably add a feature for this in the near future, I can see it being a problem. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘set video player sizes’ is closed to new replies.