Forums

videopress for self hosted site is displaying aspect ratio of videos wrong (4 posts)

  1. actualjobs
    Member
    Posted 2 years ago #

    I've got two problems I'm dealing with, with videopress that is being used on a self hosted wordpress site.

    1. The aspect ratio should be 16:9 and it shows up that way in my media library but when posted it distorts to a 4:3 ratio. The files were uploaded as a 853 x 480 in size and are coded as h.264.

    2. The posts I have read show that you can change the width and height of a posted video by adding an "h=" and "w=" with the dimensions in the shortcut for embedding. In the post they show the code as [wp video PbIxLwMp] but mine show up as [videopress PbIxLwMp]. Why is mine showing up differently then people are referring to it? Also the h and w codes don't seem to work on my shortcut for embedding.

    PLEASE ANY HELP IS APPRECIATED!

  2. hailin
    Member
    Posted 2 years ago #

    Please upgrade your wporg videopress plugin to the latest version (0.2.0). The previous version has a bug that prevented the correct display of width and height.

    Regarding the shortcode - both will work.
    [videopress PbIxLwMp] is the latest format;
    [wpvideo PbIxLwMp] is more of a legacy.
    You can change the width and height with w= h=

    [videopress xyz] uses your default theme content_width if present, otherwise uses 400px as width.

    [videopress xyz w=640] specifies the width of video to be 640px, while preserving the aspect ratio.

    [videopress xyz w=640 h=360] specifies both width and height

    [videopress xyz h=300] specifies the height of the video to be 300px, while preserving the aspect ratio.

  3. prefonty
    Member
    Posted 2 years ago #

    Hello Hailin,

    I have everything working as it should, but other than dimensions, is there a way to override the Flash file parameters? My client would like the Embed menu to be removed, but since I am using the video on a wp.org self-hosted site, I have to leave this option check in wp.com.

    Perhaps there would be a way to pass parameters to the Flash file to customize it some more. Other than suppressing the embed menu, I would like to change the wordpress logo used as the play video button.
    Is there a way I can do that?

    Thanks very much for any help.

    Yanik

  4. prefonty
    Member
    Posted 2 years ago #

    Hailin, hello again,

    I also need to translate Play Video... that is why I was asking about being able to change the WordPress logo in the first place, so I could replace it with the generic play triangle button, which is universal and would work in all languages.

    Thanks again
    Yanik

Topic Closed

This topic has been closed to new replies.

About this Topic