Community Server on my mind

J-O Eriksson's blog


  • Running on CS 2.1 SP 2

    See top menu for subscription options

    Technology Blogs - Blog Top Sites

    BlogRankers.com

    Add to Technorati Favorites



Videos on the CS Home Page

After writing the article "CSModule for MSN SoapBox" I got a question on how to put up a Soapbox video on the Home Page of Community Server. And since the last 2 articles has been about Soapbox and CS, why not have one more? Wink Tell me if it's getting a bit too soapy (yes, I love really bad jokes, that almost noone understands) .

Of course, what I've written in my two last articles, applies to other video players to embed that just Soapbox. So will this article.

I made a little research on the options to embed a video on the home page. My first thoughts/alternatives was:

  • Build an ASP .NET server control that read the whole HTML or just a video link from a local text file/DB table.
  • Do it via CS built-in Content Parts framework.
  • Just put the HTML for embedding the video, straight into the Default.ASPX (or other page or similar where you want to display it)

I don't know which method that is best for you. I can imagine there are at least one situation where each of the alternatives is the best choice.

I haven't done an ASP .NET server control for the above yet. But the risk is high that I am going to, and post it here.

A word about the Content Parts alternative: You won't get it to work "out-of-the Box" (OOB), since CS currently is using tiny_MCE as an editor for these. And by default tiny_MCE strips out HTML tags like <embed etc. You can configure tiny_MCE to accept those tags like it's described in this forum post. But I am not sure that's a good way to go security wise. It opens up those tags everywhere on the site for any kind of post done with tiny_MCE.

If you write the Content Part by going straight to the DB table cs_Content, nothing will be stripped out. By default, SQL's DB Manager don't handle pasting too large strings into the table though. But I was thinking, there should be a tool for handling all your Content Parts for a site. Maybe a WIn Forms client, that lists all your current Content Parts for easy editing. There is a small risk that I will do such a tool, if no none beats me to it. In any case, I think it would be a very useful tool.

Or, why not create a new CS Admin page, which lists all your Content Parts of the site, and provides easy editing in plain HTML (no tag stripping) text box? It too would be a great tool to have.

Sorry, I fell off topic in this article, began with videos on home page, and quickly drove right into Content Parts. Geeked

Since there were no nice screenshots in this article, I'll give you an off topic video to wrap things up instead. Why? Well, because I can!

If you enjoyed this post Subscribe to my feed via RSS or e-mail!
Posted: Wednesday, October 04, 2006 8:07 AM by J-O Eriksson

Comments

TrackBack said:

# October 4, 2006 1:32 PM

Community Server Daily News said:

news of the day a grab bag for what's happening in Community Server J-O Eriksson adds to the Stockholm
# October 6, 2006 2:16 PM

External News Feed said:

news of the day a grab bag for what's happening in Community Server J-O Eriksson adds to the Stockholm

# October 6, 2006 2:34 PM

Announcements said:

This week... Kyle Beyer lists all of the principal Community Server namespaces in "CS SDK v2.1 - Namespace

# October 9, 2006 7:09 AM

Michael S. Scherotter said:

I just got an email from David Cronshaw at MSN SoapBox that you might want to take advantage of:

"We just updated our embed code and was hoping you could update the present code

for better performance. The new code should be:

<embed src="http://images.soapbox.msn.com/flash/soapbox1_1.swf" quality="high" width="412" height="362" wmode="transparent" name="msn_soapbox" type="application/x-shockwave-flash" pluginspage="http://macromedia.com/go/getflashplayer" flashvars="c=v&v=21f246fd-fc54-4060-8f55-d5ff30179195" ></embed>

# October 9, 2006 10:54 AM

J-O Eriksson said:

Thanks you Michael!

Will update the Soapbox module as soon as I can, and upload a new version.

I can see where it differs from the original embed code I took before from the Soapbox site, but did David mention anything on why the changes will give better performance?

# October 9, 2006 11:47 AM

J-O Eriksson said:

New version of the Soapbox CSModule is posted in my downloads area.

# October 9, 2006 12:44 PM

Community Server Bits said:

J-O Eriksson cleans up quite nicely with today's post on how to place SoapBox videos on the Community

# March 12, 2007 5:54 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS