Skip to:
Content
Pages
Categories
Search
Top
Bottom

Plugin: YouTube in bbPress


  • Trent Adams
    Member

    @trent

    First off, an example can be found here. Download the bbPress YouTube plugin! Now the disclaimer…….

    This plugin will only Key Masters and Administrators to put YouTube videos into posts. Why only those two groups you might ask? Well, because this plugin right now allows ALL embeds and objects out there to be put into your forum posts and I thought this might be a bit much for the general public! This plugin was started by myself and then mdawaffe finished it off for me. Nothing special, but the next version will have the code to only only YouTube videos in an easy way, but for now you need the entire embed code from YouTube, like this:

    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/lh5316fcit0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/lh5316fcit0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

    If you decide to take out the conditional for adminstrators, do so at your own risk! It is nothing special, but at least will do until we can get a better version!

    Enjoy!

    Trent

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