Skip to:
Content
Pages
Categories
Search
Top
Bottom

Converting a WP plugin to work in Activity


  • Number_6
    Participant

    @number_6

    A good person on the WP forums wrote up a plugin for us that alters the output of oEmbed to add a wmode parameter to videos to “stick” them to the page layer go they don’t obscure div tags like the BuddyBar/Admin Bar, Arrowchat etc., but he didn’t account for the fact that (and this terminology is alien to me, as I am noob @ php) the Activity Stream content isn’t under the the_content handle.

    So I’m wondering if someone here could look at this beautiful piece of software and see if they could tailor it to act in Buddypress.

    http://pastebin.com/jKP4xABd

    WHAT IT DOES: In short this takes the regular oEmbed output and replaces “?feature=oembed” at the end of the Youtube embed URL with “?wmode=transparent” and adds “wmbed=”Opaque”” into the iFrame tag.

    Thread on WP:
    http://wordpress.org/support/topic/help-adding-wmodetransparent-to-oembeds?replies=11#post-3775969

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Converting a WP plugin to work in Activity’ is closed to new replies.
Skip to toolbar