SURFThru
  •  SURFThru
  • 63.8% (Friendly)
  • YAF Forumling Topic Starter
2009-05-03T01:56:21Z
I want to use the FCK editor. It works great in YAF except for inserting YouTube videos.

I tried two different plug-ins, but it seems when the page is rendered none of the embedded object code is there. I was able to load YouTube videos with BB using the existing YAF code, but not with FCK.

Anyone have youtube working with FCK?
Sponsor
SURFThru
  •  SURFThru
  • 63.8% (Friendly)
  • YAF Forumling Topic Starter
2009-05-03T02:14:35Z
If all else fails put YAF in Debug.

Here is the fix.

1. FormatMsg.cs
2. Go to Method static private bool IsValidTag( string tag, string [] AllowedTags )
3. Add this code after the first set of Ifs

if ( tag.IndexOf( "embed" ) >= 0 ) return true;

Now the flash video will play.

I used the YouTube FCK plugin from...
http://sourceforge.net/projects/youtubepluginfo/
SURFThru
  •  SURFThru
  • 63.8% (Friendly)
  • YAF Forumling Topic Starter
2009-05-07T14:48:56Z
I am learning. I did not need to modify the code. I just needed to add 'embed' in the HTML codes under host settings.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved