Skip to:
Content
Pages
Categories
Search
Top
Bottom

soundcloud embed

  • hallo there. I’m having trouble finding a way to get soundcloud embeds working within the bbpress that comes with buddypress. While the soundcloud plugin makes it straightforward to embed the players into standard wordpress posts, it isn’t recognised by bbpress. Has anybody had an experience of getting soundcloud embeds working in bbpress?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hiya,

    I just worked it out for myself!

    If you download the bbVideo plugin, then edit the file provider.inc.php and add the following at the end :

    'soundcloud' => array(

    'width' => '620',

    'height' => '81',

    'pattern' => 'soundcloud.com/(.*)/(.*?)/',

    'index' => 1,

    'code' => '<object height="[HEIGHT]" width="100%"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http://soundcloud.com/[ID]/"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="[HEIGHT]" src="http://player.soundcloud.com/player.swf?url=http://soundcloud.com/[ID]/" type="application/x-shockwave-flash" width="100%"></embed> </object>',

    'page_url' => 'http://www.soundcloud.com/'

    )

    Hiya,

    I just worked it out for myself!

    If you download the bbVideo plugin, then edit the file provider.inc.php and add the following at the end :

    'soundcloud' => array(

    'width' => '620',

    'height' => '81',

    'pattern' => 'soundcloud.com/(.*)/(.*?)/',

    'index' => 1,

    'code' => '<object height="[HEIGHT]" width="100%"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http://soundcloud.com/[ID]/"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="[HEIGHT]" src="http://player.soundcloud.com/player.swf?url=http://soundcloud.com/[ID]/" type="application/x-shockwave-flash" width="100%"></embed> </object>',

    'page_url' => 'http://www.soundcloud.com/'

    )


    funnycat777
    Participant

    @funnycat777

    Does anybody know if there is a plugin available to embed or attach a HTML5 soundcloud player in a bbPress forum, not Buddypress forum?


    funnycat777
    Participant

    @funnycat777

    Does anybody know if there is a plugin available to embed or attach a HTML5 soundcloud player in a bbPress forum, not Buddypress forum?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar