Home Forums Pure Theme Discussion & Support oEmbed Width Not Being Enforced in BuddyPress Activity Feed

This topic is: not a support question

Tagged: , ,

This topic contains 4 replies, has 2 voices, and was last updated by  themeweaver 3 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3948

    matt supert
    Member
    Post count: 8

    Alright, got another one here for you. It looks like in the 3.5 upgrade of wordpress, they removed the video width settings from the Stettings–>Media.

    There appears to be a conflict with WordPress’s default oembed settings and the Buddypress activity feed. Videos are sized very large and overflow outside the feed width.

    Settings appear to be fine within the blog posts, pages and BBpress forum posts.

    #3957

    themeweaver
    Keymaster
    Post count: 730

    Do you have a url?

    Obviosuly in a responsive theme videos need particualr attention. Depending how they are inserted the theme can scale them to fit.

    #3958

    matt supert
    Member
    Post count: 8

    Yes. The activity stream is as follows: http://orju.net/membeactivity/. You can see the second post is a video using wordpress’ native oembed not sizing properly.

    For reference here is the same blog post where the video is sizing properly on the page. http://orju.net/2013/04/fl-studio-11-now-out/

    Here is also the video sizing properly in a forum test: http://orju.net/forums/topic/video-test/

    #3959

    themeweaver
    Keymaster
    Post count: 730

    Well in the post you have the video inside a container with class=rve-embed-container. This is persumably from some plugin (responsive video embed?) you are using. the effcet is to make the video fit in a repsonsive way.

    Actaually the theme can also do this for you without tthe plugin, by wrapping it in a conatiner with class=”video-container”.

    See http://themeloom.com/2012/10/tip-make-embedded-videos-fluid-in-a-responsive-theme/

    So in the forum and the activity stream the video is the fixed width that has been embedded. They need to be wrapped as above in order that they scale with the container they sit inside.

    The problem of course is that if a user is embedding the video then you have no control over what they are posting.

    So in effect what you need is the plugin you are using fro WordPress posts to be BuddyPress compatible and do the same thing for activity and forums posts. But I don’t think it does.

    #3960

    themeweaver
    Keymaster
    Post count: 730
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.