Forums

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

  1. Scotty501
    Member
    Posted 12 months 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 12 months ago #

    I would love to know this as well please

  3. wpmubp.org
    Member
    Posted 12 months 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 12 months 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 12 months 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 11 months 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 11 months 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 6 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic