WordPress.org

Forums

BuddyPress Activity Plus
How to resize the video size? (8 posts)

  1. Scotty501
    Member
    Posted 3 years ago #

    Hi Guys,

    Love the plugin - just what I needed. How would I go about changing the video size when posted? It seems very large right now when someone posts - can we force the size down?

    http://wordpress.org/extend/plugins/buddypress-activity-plus/

  2. b1gft
    Member
    Posted 3 years ago #

    I would love to know this as well please

  3. wpmubp
    Member
    Posted 3 years ago #

    From their explanation...

    The default width is 450px, but if you want to change it you can now add a define directive in wp-config.php (e.g. define(‘BPFB_OEMBED_WIDTH’, 250, true);).

  4. b1gft
    Member
    Posted 3 years ago #

    I put the define directive into wp-config.php file (into my test site) it took the site off, so I assume I had it in the wrong postion or line.

    I copied your line excactly define(‘BPFB_OEMBED_WIDTH’, 250, true);).

    If you could point me where to place it in wp-config.php also was the copy of the code, correct, that is, the likes of the full stop at the end of the code.(I tried it with and without the, what I call, the full stop)

  5. Scotty501
    Member
    Posted 3 years ago #

    Same for me - I guess (as above) it's not being put in the right place. I put it in the wp-config.php that is in the root.

  6. DavidM
    Member
    Posted 3 years ago #

    Hey, could you give the following a try? I think it was just the apostrophes in that previous post that may be the issue.
    define('BPFB_OEMBED_WIDTH', 250, true);

  7. b1gft
    Member
    Posted 3 years ago #

    Well done DavidM, worked perfect, thanks. Now I have to go and do the next piece of advise you give me.

  8. slips111
    Member
    Posted 3 years ago #

    Thia works perfectly for me too, but one problem: if there are video replies ("Comment"), in the stream, they're about 700px wide (whether this line is added or not). And idea of how to control the width of videos posted as comments as well? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic