DotNetNuke Developer Chris Hammond

DotNetNuke Core Team Member

News

Thanks for visiting my blog, you can find more about me at ChrisHammond.com or on my company's website at Engage Software.

Cool Sites

My domains

Projects

How to put YouTube into your CS Blog

I was trying to get a YouTube video in one of my blogs today and ran into a few troubles. After some googling, and changes to config files I got it working.

For anyone else who's looking at how to do this here it is.

Modify your communityserver.config file, in the markup/html section add the following.

    <embed
    style="true"
    type="true"
    src="true"
    quality="true"
    bgcolor="true"
    scale="true"
    wmode="true"
    salign="true"
    FlashVars="true"
    width="true"
 height="true"  />
   
   <object
    width="true"
    height="true"    />
   <param
    name="true"
    value="true"    />

Don't forget to hit your web.config file after making the above changes. Warning, you're opening up your site to allow users to post content you may not want them to be able to post. This is for CommunityServer 2.0, I haven't tested for other versions.

Comments

Ancora Imparo said:

A common question on the Community Server forums is &amp;quot;how to enable posting of YouTube videos&amp;quot;.For

# July 27, 2006 3:59 PM

spacecoprse said:

so how does one find this communityserver.config ? no idea what "Don't forget to hit your web.config file after making the above changes. Warning, you're opening up your site to allow users to post content you may not want them to be able to post. This is for CommunityServer 2.0, I haven't tested for other versions." means. I'm a n00b, but I know html and css. thanks
# August 4, 2006 6:29 PM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Another Community Server-powered

# September 8, 2006 3:54 PM

Imran Baig said:

It doesn't seem working under CS 2.1, any ideas to make this work. Thanks Imran
# September 12, 2006 8:09 PM

ÎÜñ|‹ø\/\/ñ [ÐëÞrëçã†ëð]'s Blog said:

If you are running Community Server (CS) like this blog and you would like to get Google or YouTube videos

# November 14, 2006 4:42 PM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server Gary McPherson writes a consumer-controlled
# November 15, 2006 4:52 PM

Dale said:

This doesn't work for CS 2.1

Any ideas on how to enable on CS 2.1?

best,

Dale

# November 18, 2006 9:15 AM

quanglewin said:

A simple way to do that: paste youtube's url to video url tab

# April 12, 2007 5:18 AM

Dave Burke's Community Server Bits said:

The question of adding YouTube to blog posts keeps coming up in Community Server Forums, so here are

# May 23, 2007 4:06 PM

mtmomma said:

I've tried many things & still can not get this to work LOL

what should be changeing in the web.config file?

& what does it mean to touch it?

I'm doing all updateing in a explorer browser

Thanks for any info you can give.

# October 28, 2007 12:34 AM

10 Ways to Integrate YouTube on Your Site | Lifehacker said:

Pingback from  10 Ways to Integrate YouTube on Your Site | Lifehacker

# November 9, 2007 3:13 AM

Jim Restucci said:

You are the man!! - I searched hi and low for a fix for this, I tried Scott W's module, I tried the CSMVP Cinnabar module, nothing worked, I can't believe it was that simple.

You rock!!

# January 20, 2008 10:12 PM

Matt Williamson said:

Thanks Chris!  This worked perfectly for me on my blog, CS version 3.0.20611.960.

# June 29, 2009 6:15 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)